Discussion Forums  >  Images, Documents, File Locations

Replies: 2    Views: 92

NicT
I hate code!
Profile
Posts: 2
Reg: Sep 02, 2013
London
20
09/20/13 02:45 PM (10 years ago)

Best Image Width

I want to add images to my html pages. What are the optimum size for smartphones - 320px , 480px , 640px ? Don't mind centering an image.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
09/20/13 04:41 PM (10 years ago)
It varies on the device. Things that are sized well on an iPhone 3GS isn't going to look the same on a retina iPhone or an iPad. Within HTML, I use CSS to resize my images depending on the device, and that seems to work out ok. Cheers! -- Smug
 
NicT
I hate code!
Profile
Posts: 2
Reg: Sep 02, 2013
London
20
like
09/21/13 06:20 AM (10 years ago)
Thanks Smug. Most of my pics are either 450px or 600px. I'm planning to use width:100% and max-width: 450/600 px in css. My question is, if I centre the image would these images still look acceptable? What in your opinion is the smallest possible image width that is "acceptable" for most devices?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.