Site logo

Archived topic

Featured images on WP Show Posts are broken

6 replies · Started by Chaz on June 10, 2022

Viewing posts 1–7 of 7

I am in the process of updating the design of my site in a staging environment. On my homepage, I have added a latest posts section with a post grid layout via WP Show Posts. However, none of the featured images are rendering or showing broken images. The homepage in question is https://wordpress-691989-2308695.cloudwaysapps.com/

I don't have any caching plugins enabled, so I am abit confused as to why it's not working. Please advise.

There are no width/height values configured in the settings. Please help.

It seems to be only an issue with WPSP as when you browse category pages, the featured images load fine.

The image links are broken, there seems an extra space or line breaker in the link.

Do you have any plugins or custom functions that might've altered the image links?

If so, can you disable the plugins and functions to test?

Let me know!

Nope I haven't touched any image-related functions nor do I have any plugins that alter them.

Hi Chaz,

The image links are broken from my end as well. It’s apparent when viewing posts directly as well: https://share.getcloudapp.com/jkuXQvOx

For instance, the link in the screenshot has this as the src of the featured image: https://wordpress-691989-2308695.cloudwaysapps.com/wp-content/uploads/2021/05/How-Does-Coursera-Work-1024x576.png

It’s not working. If you remove the %0A, it would work:

https://wordpress-691989-2308695.cloudwaysapps.com/wp-content/uploads/2021/05/How-Does-Coursera-Work-1024x576.png

Somethings messing with the links of your images.

As a first course of debugging can you try #1 here?: https://docs.generatepress.com/article/debugging-tips/

If you have custom code, you’ll want to check those as well as mentioned by Ying just to be sure non of them is causing the issue.

It would be good to take a backup of your site before testing.

Hope this helps!

This archived topic is closed to new replies.