Skip Navigation

[Resolved] Images not displaying

This support ticket is created 6 years 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years ago.

Assisted by: Luo Yang.

Author
Posts
#1200731
template_images.png
admin_show.png

I am trying to: Display images from my custom field type equip-images. They display on the admin when they are added, but are not showing up on the front end (This use to work - I tried changing the code though in hopes of finding a solution)

Link to a page where the issue can be seen: hidden link - the section "Equipment Photos" is blank

I expected to see: the images that have been uploaded and saved to the post.

Instead, I got: No images displaying.

I've attached screenshots of the post showing the images when it's being edited, and the template currently being used. I have put in two separate tags trying to get it to display and it's not displaying any images for either.

#1200790

Hello,

In your screenshot:
hidden link

It seems you are using a custom repeatable field group "Equipment images", it is different from multiple-instance field, the repeatable field group is based on one-to-many relationship, each item is single post, so you will need to create a post view:
- query "Equipment images" posts
- filter by the post type relationship
- display the "Equipment Photos" field shortcodes

Then insert above post view's shortcode into content template of screenshot:
hidden link

More help:
https://toolset.com/documentation/getting-started-with-toolset/creating-and-displaying-repeatable-field-groups/#displaying-repeatable-field-groups