Skip Navigation

[Resolved] Non-block based gallery for repeating images

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by georgeF-2 2 months ago.

Assisted by: Waqar.

Author
Posts
#2684421

Tell us what you are trying to do?

We wish to use a repeating image field to generate a gallery.

Is there any documentation that you are following?

We are not using blocks, so this solution while convenient is not available to us: https://toolset.com/forums/topic/need-help-setting-up-an-image-gallery-for-a-post-type/

Is there a similar example that we can see?

We are not particular, any product gallery type display is an option that we can then further style

What is the link to your site?
hidden link

#2684521

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

The Types Fields API can be used to get the repeating images into a custom-developed shortcode for a gallery:
https://toolset.com/documentation/customizing-sites-using-php/functions/#image

You'll find an example usage of such a code in the following forum reply:
https://toolset.com/forums/topic/repeatable-image-field-image-caption-in-php/#post-2684343

I hope this helps and please let me know if you need further assistance.

regards,
Waqar

#2684622

Waqar, thank you for the samples and link to the other forum post. We truly appreciate the feedback and support we get from Toolset

We stumbled across a pretty viable solution in the interim based on css styling of the native output from the toolset shortcode for the images field

hidden link

By enveloping the toolset output in a container, we were able to target the output and create some very flexible and dynamic behaviors.

We will review both options and move forward on our solution, thank you again for your help.

georgeF-2 confirmed that the issue was resolved on 2024-02-22 13:25:32.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.