Re:Show HN: Side Project - Just the Images from Reddit
by abailin on Wednesday November 23, 2011 @11:14AM
(#3270465)
Good work, but I don't like how all the images are forced to 1:1 ratio. You should try to preserve the original aspect ratio. You could either choose a width and that way you can have a certain # of columns with images running down vertically. Or choose a height and have them running left to right in rows of equal height.
[ Parent
| on HN ]
Re:Show HN: Side Project - Just the Images from Reddit
by dholowiski on Wednesday November 23, 2011 @11:16AM
(#3270477)
Yeah... it's not great but it was on purpose. Some images are crazy dimensions like 300px wide and 5000px tall so it's kind of tough to handle. I guess I could write some logic to preserve the aspect ratio up to a certain point. I do like the nice perfect square of images though.