Skip Navigation

[Resolved] background slider in view loop show only first image

This support ticket is created 2 years, 9 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.

Our next available supporter will start replying to tickets in about 0.27 hours from now. Thank you for your understanding.

This topic contains 2 replies, has 2 voices.

Last updated by fabioF-5 2 years, 9 months ago.

Author
Posts
#2291623

Hello
I'm trying to use container background in a view loop, I setup a gallery custom field where I set multiple istance of this field.
I populated the field but in a loop when I try to use dynamic image from container background, it return only with first image.
Any idea why ?
Many thanks!

#2292013

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Let me check if I understand you correctly.

You have a View, which loops over some posts.

The posts have an image custom field, and the custom field can have multiple values (i.e. multiple images).

For any individual post, you could add a Gallery block, and that would show each of the image field values for that post, or you could add an Image Slider block, which would show each of the images in a slider.

In the output of the View, where you are looping over several posts, you would get multiple galleries or sliders, each showing the images belonging to the current post in the loop.

Now you want to use a Container block in the output of the loop, whose background comes from the image field.

How should that use multiple images? A Container block can only have one background, and if you specify an image field as the dynamic source for the background it will use the first instance of the image field from the current post.

In the context of what I describe above, how is it you envisage this working?

#2295365

My issue is resolved now. Thank you!