The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Using thumbnails in a gallery

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #160722

    I have a page at:

    Where I’d like to standardize the size of every thumbnail across the board. But I don’t want to sacrifice quality or have it look really bad. Any suggestions?


    It depends what you mean by ‘standardise’.

    If the images do not all have the same initial dimension ratio (say 2×1) then squeezing them into 1×1 will distort the thumbnails.

    You can choose whether the thumbnails all have the same height OR width but not both at the same time if the dimension ratios are different (as it appears).

    You might want to look into masonry.js


    Awesome, I think Masonry is what I needed.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.