I use the Isotope plugin, but still, this is not what is needed.
It is necessary to automatically arrange the pictures in a block at random.
The width and height of the block should be selected based on the size of the pictures inside it.
I also tried masonry and shuffle, but there it’s the same: either the height needs to be set, or the width. It turns out that either the columns are the same in width, or the rows are the same in height.
Example of desired behavior:
How to automatically arrange images in Isotope, without specifying the size of the parent unit?
