Saltar navegación

[Resuelto] Images in Repeatable Fields not showing after plugin update

This support ticket is created hace 2 años, 9 meses. 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
- 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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Minesh hace 2 años, 9 meses.

Asistido por: Minesh.

Autor
Mensajes
#2473637
Screenshot 2022-10-10 at 20.36.30.png
Screenshot 2022-10-10 at 20.23.31.png
Screenshot 2022-10-10 at 20.21.03.png

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: enlace oculto
Back end: enlace oculto

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:

enlace oculto

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.

Thank you

#2473859

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

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.

Here is the information about how you can display the repeating field groups:
- https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/
(Section: Displaying Repeatable Field Groups )

#2473901

Thanks for your reply.

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: enlace oculto
Backend: enlace oculto

You can log in to the site via the link below using the same User login details as submitted before:

enlace oculto

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 (enlace oculto)
enlace oculto

VIDEO 2 showing you how it IS NOT working (enlace oculto)
enlace oculto

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.

Thank you

#2474013

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

As you shared and claim its working but I can see the images are missing:
- enlace oculto

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.