set to 3 : displays 3 (default)
set to 4 : displays 3
set to 5 : displays 2
set to 6 : displays 2
set to 7+ : displays 1

Comments

xeM8VfDh created an issue. See original summary.

toomanynights’s picture

Yep, still the case.
There are separate classes from .thumb.bscol-1 to .thumb.bscol-10. But for some reason, thumbnails are being given the wrong ones (for example "6 in a row" = 'thumb bscol-2').
It's being defined in a 'thumbnails.class' variable bootstrap-basic-image-gallery.html.twig, but I never managed to find where is that variable defined.
That's as far as I managed to dig it so far.

PS The thumbnail row looks way better when bootstrap-basic-image-gallery is set to "display: flex" and "flex-wrap: wrap", and the thumbnail themselves have 2px of padding. Just my 2 cents!

daniel.moberly’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #2986938: Thumbnails per row doesn't work properly. Please download the dev version of this module and confirm.

toomanynights’s picture

Hi Daniel!

I do confirm. Thumbnails work correctly on a dev version.

Thanks for the tip!

daniel.moberly’s picture

No problem. I will push a release so people don't have to use the dev version - this was a good reminder. Thanks!