I am trying to:
Display Images in Repeatable Fields (and standard single images) which were previous working but since updating the images are not displaying.
It seems that the image fields are not being mapped correctly but everything else (Single Line fields, Single Line (Multiple instances), File fields, etc) are.
Link to a page where the issue can be seen:
Front End: hidden link
Back end: hidden link
I expected to see:
See images above the sections named:
- 'Production and manufacturing', 'Factory re-purposing' & 'Production relocation' (as per screenshot - Screenshot 2022-10-10 at 20.21.03)
- 'High quality service', 'Project Management' & 'Skilled Engineers'
Instead, I got:
Nothing being displayed. In the theme template the images are not being mapped (as per screenshot - Screenshot 2022-10-10 at 20.23.31).
Here is a video to show you where the mapped images were set up that previously were working but the image field groups (top_section_group_image) no longer appears for selection:
hidden link
The image field group 'top-section-group-image' has been setup in the Repeatable Group 'Top Section Images Group' within the custom field 'Field Group - Covid-19' (as per screenshot - Screenshot 2022-10-10 at 20.36.30).
If you can kindly assist on this that would be very much appreciated.
Hello. Thank you for contacting the Toolset support.
I'm not sure how you consider this working even before as well as this is not the way you can display repeating field group.
When you create repeating field group it will have one(post/cpt)-to-many(repeating fields from repeating field group) post relationship and to display many related items you will require a view.
The setup was working before which I can show you on an older version of the website which is on a development domain:
In this instance it's a different page I refer to (because the COVID19 page is not on this example of the development site as it's an earlier version) but the repeatable images are still setup in the same way:
Front end: hidden link
Backend: hidden link
You can log in to the site via the link below using the same User login details as submitted before:
hidden link
I've attached screenshots of how it IS showing (Screenshot 2022-10-11 at 07.36.18) and that you can see the 'Profile Team Image' (repeatable custom field) which displays the images.
And the other screenshot (Screenshot 2022-10-11 at 07.36.26) of the current site which IS NOT showing the repeatable images field ('Profile Team Image'). Please note that the other repeatable fields (single line fields) are showing on both sites so it seems to just be the images that are currently not working.
***** UPDATED****
I am unable to 'Upload an image' for some reason to this reply so have created 2 videos to show you instead:
VIDEO 1 showing you how it IS working (hidden link) hidden link
VIDEO 2 showing you how it IS NOT working (hidden link) hidden link
Again - the login details are the same for both sites if you could take a look to see what the differences are to let me know please.
As you shared and claim its working but I can see the images are missing:
- hidden link
Somehow its able to get the data but again that will cause the issue as the recommended way to display repeating field is using the view. You will have to create a view and set it to query your repeating field group name and then add the post relationship filter to get correct items/posts belongs to the current page/page to which repeating field is belongs to. Even if you see it working more or less later on you will find it broken.