I have a site where users upload photos taken from their digital cameras. I want the photos to appear as big as possible, almost take up the entire screen. I also want all the thumbnails, of various users, and blown up photos, to have a uniform size so the design works on my site and everything lays out properly. Is this possible, or am I going to be stuck with different sized pictures because some people 'turned the camera on it's side to take a picture and got a picture way taller than wider'. Do the pictures need to be a certain file format, certain size, etc? Please help me!
Tell me more
×
Webmasters Stack Exchange is a question and answer site for
pro webmasters. It's 100% free, no registration required.
|
You can store the photos just as they're uploaded and resize them in CSS. This is really the best option for displaying full screen, because you don't know what size screen your users will have. However, the obvious limitation is that if you change the aspect ratio the photos will look wrong. Your options for photos which are in a different aspect ratio are:
In all cases, it's advisable to keep the original image around in case your layout changes. |
|||
|
|
|
IrfanView is a free desktop tool that you can use for batch resizing of images if you have a moderation process. |
|||
|
|