November 21, 2019 at 11:22 am #11996
I uploaded a new image to use as a featured image on a post and chose it as the featured image, but on the front-end it doesn’t display: the source shows “img(unknown)”. All previous posts are displaying their featured images correctly.
1. I can use that same new image within the article itself, so it’s not a problem with the image file or path.
2. I can select a PREVIOUSLY UPLOADED (several months ago) image as the featured image and it WILL display properly on the frontend.
3. I can remove the Image Width setting in WP Show Posts (leaving it blank), use CSS to set the width for the featured images, and THEN the newly-uploaded image WILL display properly on the frontend.
So there is something funky going on…November 21, 2019 at 6:38 pm #12011
The image width/height options will only work if the image is coming from the current website/URL, so it will break if that URL is coming from a CDN or something similar. I can check if you want to disable the height/width options and link me to the page.
Let me know 🙂November 22, 2019 at 8:30 am #12021
Here’s the page. The image IS coming from the website. This (2nd post down) is what is happening when I use a newly-uploaded image for the featured image and have the image width set to 300 in WP Show Posts.
Thank you!November 26, 2019 at 8:55 pm #12094
So are the image sizing options in effect right now? The URLs do look good, so my initial guess wasn’t right. It could be that your server isn’t able to resize the images using the method we use in WPSP. This is a good workaround: https://wpshowposts.com/support/topic/show-posts-images-not-working/#post-8324December 2, 2019 at 12:30 pm #12168
The client wouldn’t let me keep the broken image up, so by the time you were able to look at the page I’d once again reverted to removing the width selection in WP Show Posts and used CSS to size the image. (The image in question was already uploaded to WP at final size, but some of the other featured images were not.)
Thanks for taking the time to consider this, Tom, but let’s let this one slide. I’m going to chalk it up to “hidden mysteries” with an inherited site…
Thank you!December 3, 2019 at 9:27 pm #12188
No worries! Sorry I couldn’t get back to you sooner.
I don’t love how WPSP handles resizing images right now – a complete re-write of the image resizer is planned.
- You must be logged in to reply to this topic.