I wrote an app for image contest and what I am trying to achieve now is to display those images. I m facing a little problem.
I resized the images for 400 px by 400 px by keeping aspect ratio. Which means one image can be 400px width and 200px height. and another image can be 100px width and 400px height.
Client app want to dislay them in a grid with fixed height and width.
There is this css trick which show partial of the image but when i do that some show only the left corner of the image which can just white or black in that region so no good for me.
When i look at facebook they do a pretty good job of aligning the images and showing the center of it i guess.
how can i get this working?
Thumbnail size requested to be displayed is 100px by 100px
Thanks.