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!
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?