Archived topic
Featured images on WP Show Posts are broken
6 replies · Started by Chaz on June 10, 2022
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.
Hi there,
in the WPSP list do you have any width / height values in the settings ? If so can you remove them ?
Just a headsup - GenerateBlocks 1.5 is almost ready to go live, and it has the new Query Loop Block:
https://generateblocks.com/generateblocks-1-5-dynamic-data-query-loops-image-blocks/
We expect a release within the next week to 10 days.
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:
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!