Posted 28 January 2013 - 14:43
You seem to be doing so already... unless you mean using differently sized images? If that's the case, there are a few options for you. I'm assuming you would want the height of all images in a row to be the same like Flicker has, but the width wouldn't matter except for keeping image proportions. One way to do this would be to calculate the width of the parent and calculate the width of each image. Then, using modulus, you could find the number of images to display, and the padding/margin to give each one. If you'd like an example, I could probably write one up for you. If you'd like to have the first image and last image be aligned completely to the left and right respectively, you could just give them each different classes from the center images. Am I making sense?