Skip Navigation

[Resolved] Elementor gallery won't populate from Toolset multiple-instance image field

This support ticket is created 3 years, 10 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by blaineR 3 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#2103361

I am trying to: Populate an Elementor gallery element in a template with a multiple-image Toolset custom field type. This used to work, probably until a recent update of Elementor and/or Toolset. I recently cleaned out lots of files in wp-content/uploads, so that could also be a factor, but I know at least some of the referenced image files are still there.

Link to a page where the issue can be seen: hidden link

I expected to see: Several sections of single-column image galleries sprinkled in among the text field contents

Instead, I got: Only the text fields but not the galleries of images

#2103375

Hello, Elementor's dynamic content integration with Toolset is fairly limited in scope. It works best with simple field types (text-based and number-based fields are best) that only have one value. As far as I know the gallery element's dynamic content feature has not supported Types repeating image fields for quite a while now, and our supporters have been suggesting a Toolset Blocks-based solution instead. Even the legacy shortcode approach will be more effective, since the Gallery element seems to have stopped supporting Types fields that allow multiple values. I can show you how to use a Types field shortcode to display images from a repeating image field, if you'd like to explore that approach, but unfortunately there is no easy workaround with the gallery element.

Since you're using Elementor to design this content, I suspect that you are not interested in a Blocks-based solution but I'll mention it anyway. Toolset Blocks provides an image gallery block and and an image slider block that are designed to work with Types image fields that allow multiple values. You use a drag and drop interface to place the block in your post or template design, then configure its settings right in the block editor. Combining Elementor designs and Blocks designs is not advised.

Recent tickets discussing the problems with dynamic content integration of repeating fields in Elementor widgets, and some solutions:
https://toolset.com/forums/topic/elementor-gallery-module-not-showing-toolset-repeating-image-fields/
https://toolset.com/forums/topic/toolset-repeating-image-field-in-elementor-gallery-template/
https://toolset.com/forums/topic/split-elementor-dyanamic-gallery/
https://toolset.com/forums/topic/images-in-custom-posts-are-not-displaying/

#2105243

I had already made a Toolset Blocks template as a workaround and I thought it wasn't working either, but I needed to disable the Elementor one and then it was fine. Thanks for the help!