coblocks icon indicating copy to clipboard operation
coblocks copied to clipboard

ISBAT Masonry gallery sorting issues

Open gdandrija opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Masonry Gallery block has no ability to change the number of images per row. We can only have 3 images per row. Additionally, image sorting has been changed in the recent update, therefore images are now ordered by columns instead of rows

Describe the solution you'd like

Ability to choose from block settings how many images should be in a masonry gallery row and also the ability to choose how I want to sort the images.

Describe alternatives you've considered

This plugin has the functionality (https://wordpress.org/plugins/foogallery/)

Additional context/screenshots

Originally submitted on WordPress.org: https://wordpress.org/support/topic/problems-with-masonry-gallery-number-of-columns-ordering/ user already switched to FooGallery

gdandrija avatar Jul 14 '22 14:07 gdandrija

This is related to changes made with the Masonry gallery to remove the external dependency. Unfortunately, we made a tradeoff there with some of the control because there is no way to achieve a horizontal layout in masonry without using pseudo-elements or JS.

I would love for this to be handled where the Masonry gallery allows a toggle to apply a JS script. This would be similar to the third-party option but ideally is lighter. We also want the script to be conditionally loaded as previously the larger third-party script was almost always present.

AnthonyLedesma avatar Oct 04 '22 22:10 AnthonyLedesma