Skip Navigation

[Resolved] All our featured images are broken

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

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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by weatherlyB 3 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#1912557
broken pic.PNG

Example page:
hidden link

All images come up 404. If you try and open the image in a new tab you see this in the url, clearly wrong:

<em><u>hidden link</u></em>

In the Console it looks like this

src=""<em><u>hidden link</u></em>""
#1912855

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this, I'll need to see how these images are set to show in the back-end.

Can you please share temporary admin login details?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Waqar

#1914327

Thank you for sharing the admin access.

During troubleshooting, I noticed that in the view "View for Location Archives", there are two conditional blocks that check for the featured image.

But in the second one, the featured image shortcode "wpv-post-featured-image" was being used without the attribute output='url'.
( screenshot: hidden link )

As a result, the featured image's HTML and not just the URL was being used in the conditional evaluation and this was breaking the image's output.

This is fixed now after adding that attribute.

#1914727

Thank you very much