Tell me how to do the same layout of photos with resize depending on the screen size as the feed sites flickr or 500px? Possible I would like the easiest and most lightweight option without jquery and without using the newfangled flex-box to work even on not the most modern browsers.
UPDATE: AND if you take into consideration that I know in advance the dimensions of the photo? The aspect ratio of all 3-to-2, height 300 pixels, width 200 or 450 for vertical and horizontal pictures respectively.

