Masonry photo gallery in columns. Scales and aligns photos with original ratio to fill container. Responsive, light and simple to use. JavaScript ES6, CSS3 FlexBox are used, no additional dependencies.
Usage:
Add references to CSS masonry_gallery_cols.css and JS masonry_gallery_cols.js in your HTML. Add class="masonry-gallery-cols" in your container with photos. You can change paddings, borders and margins of images in CSS file. See example of usage in index.html.