I need some help with making my CMS website (image grid) responsive.
My goal is to have many images beeing randomized while reloading the page, but still beeing responsiv and most importantly that they stick / are attached to each other. There are still some white, empty spaces at the moment, because my images have different ratios. How can I solve this?
If you really want it dynamically sorted, you can use SA5’s Sorting lib with wfu-sort-dir = random. That will sort on every page load and would work with CSS-column masonry.
If you want to do something more advanced like Macy.js for your masonry, you’ll need to write your own sorting algo so that you can trigger Macy’s layout engine after your sorting is complete.