• 0

Justified display for RSS feed images


Question

1 answer to this question

Recommended Posts

  • 0

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?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.