This is an example of what Id like to do. http://www.davidmielcarek.com/
I'd like the rows to be fixed length but I might have 2 or 3 images per row.
I attempted this earlier and it didn't really work.
Here is the pseudo code
start loop
get image width
calculate rowWidth
if (rowWidth > maxRowWidth){
start nested loop
grab thumbnails for this row only
resize the thumbnails using the row's aspect ratio so each row is the same width
call the thumbnails
end nested loop
reset some variables for the next row
check if this is the last post
}
end loop
I don't see the issue but when I put it into actual code I couldn't get it working perhaps someone else can code it better or point out my flaw?