Feature Image Missing


Rob

Hi everyone,

My featured images aren't displaying. I'm loading them through the Wordpress Post admin page. When I inspect the element I get this message:

"Failed to load resource: the server responded with a status 404 (Not Found)"

I've never encountered this issue while developing locally. Anyone know how to solve it? I'm concerned this problem will also emerge on a live host.

Details:

  • Server: MAMP running on Mac
  • Example problem element:
<picture data-markup-id="beans_post_image_item_wrap">

<source media="(max-width: 480px)" srcset="http://localhost:8888/wp-content/uploads/beans/images/e6d525fb-e556-387f-97b3-774cbb1e0ef9-2978a33.jpg" data-markup-id="beans_post_image_small_item">

<img width="800" height="533" src="http://localhost:8888/wp-content/uploads/beans/images/e6d525fb-e556-387f-97b3-774cbb1e0ef9-8b38574.jpg" alt="" itemprop="image" data-markup-id="beans_post_image_item">

</picture>

Could be a caching issue. If you look at the image path, you'll notice it's not the default WP one. It's an image Beans has processed, and one which disappears when you flush the image cache.

Try removing the feature image, flushing your images (Appearance -> Settings -> Flush images), clearing browser cache, then setting the feature image again. Maybe overkill but this should rule out caching.

The only thing I can think of is that maybe the beans_post_image() action has been modified or that you've somehow hard-coded the path to the image.

Write a reply

Login or register to write a reply, it's free!