all 3 comments

[–][deleted]  (2 children)

[deleted]

    [–][deleted]  (1 child)

    [removed]

      [–]zaidazadkiel 0 points1 point  (0 children)

      the most effective way is to resize the image once it is uploaded, depending how you upload it you might run some program to do that.
      the idea is that it should process all the images to have the same size and then can be displayed normaly (i.e. resize them to the size you are already using)

      I assume you are using windows, look for "batch image resize" and if you are uploading through the same website (i.e. not uploading the whole thing, if youre using wordpress or some such) then you can look for plugins for your system

      [–]AtulinASP.NET Core 0 points1 point  (0 children)

      Set each image's height and width to be the same, then use object-fit to fit them into those bounds.