Skip Navigation

[Resolved] creating a gallery of additional images with repeating fields

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 1 reply, has 1 voice.

Last updated by vickiW-2 1 week ago.

Assisted by: Minesh.

Author
Posts
#2859563
Screen Shot 2026-05-04 at 1.38.17 PM.png

I am trying to create a searchable art collection.
I have created a content type "Collection Item" with Post Field for Item Image and a Post Field Group for Item Metadata. Under Item Metadata I have some number and single line text custom fields, which display perfectly in the Content Template I created for the Collection Items content type.

I would like to have the ability to create and display a variable number of "Additional Images" for each Collection Item. This do not necessarily need to be displayed as a gallery, it could simply output the image tags which I then can style with CSS. But a gallery would be OK too.

In the Post Field Group Item Metadata, I set up a repeatable group "additional Images" with an image field - see attached.

How do I display the additional images? I have tried using this code:
[wpv-for-each field="wpcf-additional-image"]

[types field='additional-image' alt='%%ALT%%' size='large][/types][tb-caption url="[types field='additional-image' output='raw']"]

[/wpv-for-each]

It works for one item in the collection, the first item to which I added additonal images: hidden link

For other items in the collection, the additional images do not display, for example: hidden link (2 additional images have been uploaded for this item, but they do not appear.)

How can I get additional images to display for all Collection Items that have additional images?

#2859599

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

What you have actully setup is the repeatin field group not the repeatin field.

What you are quoting with your description is repeating filed. Please check the following Doc:
- https://toolset.com/documentation/legacy-features/views-plugin/create-image-galleries-using-repeating-custom-fields/

But what you have setup is repeating field group. Here is the Doc that shows information how you can display the repeating field group items:
- https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/#displaying-repeatable-field-groups

If you are using legacy views - you may also want to check with - this will work with your repeating field group. What you will have to do is as a source of your view, you should select your repeating field group.
- https://toolset.com/documentation/legacy-features/views-plugin/how-to-create-a-wordpress-thumbnail-slider-in-minutes/

#2859667

Thank you so much for pointing me in the right direction! I was able to set this up correctly.