Skip Navigation

[Resolved] Number of repeating image field in the Gallery block

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by predragO 2 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2621049

Is there a way to only show exact number of images in the Gallery block. I want to display only 5 images in the Gallery Box (similar to AirBnb gallery) and I don't want the whole gallery to be shown as my layout then doesn't make sense and since I'm building a directory, clients will be able to upload much more than 5 images. I wanted to have the gallery with 5 images that could be opened in lightbox and the user would be able to see all images there.

I found this ticket with the same question from 2 years ago, and I hoped that by now this feature is possible:
https://toolset.com/forums/topic/limit-number-of-repeating-image-fields-in-gallery/

I hope you'll be able to make my day and help me with my situation.

#2621073

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no option to control the number of images you want to display with gallery block. I've added your voice to our internal ticket that maybe helpful to get attention of our Devs to add this feature.

For now, either you will have to use workaround I shared with the reference ticket you shared or you can hide unwanted images by adding custom CSS.

#2621101

My issue is resolved now. Thank you!