A free plugin for jQuery to build responsive mosaics of images or any other content fitted to match heights in multiple rows while maintaining aspect ratios.
jquerymosaicsresponsiveplugin
https://jquery-mosaic.tin.cat/