Can add a parameter, to display a number of thumbnail defined on a line under the main image.

For example if I have 8 images, the thumbnails will be displayed on several lugnes.

I want them to be displayed on a single line under the main image (in a slide show for example). The user will have arrows to navigate the thumbnails.

See screenshots

The container of the thumbnails must be the same width as the main image.

Comments

zenimagine created an issue. See original summary.

ibexy’s picture

+1

xem8vfdh’s picture

This options does exist "Thumbnails Per Row" when applying the Gallery to a view image field. However, it doesn't seem to work properly for me.

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

mlzr’s picture

+1 also in my case.

daniel.moberly’s picture

Title: Display a number of thumbnails defined on a line below the main image » Thumbnails per row doesn't work properly
Status: Active » Needs review
StatusFileSize
new3.07 KB

Yea, the way this was working was ugly with the CSS widths hardcoded (would only allow up to 10) - it was calculating columns in the incorrect way also. Attaching patch to fix issue and make this dynamic.

  • Daniel.Moberly committed a7fff4a on 8.x-1.x
    Issue #2986938 by Daniel.Moberly, zenimagine: Thumbnails per row doesn't...
daniel.moberly’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.