# Missing wp post images in forums (see screenshots)

**URL:** https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544
**Category:** WordPress
**Tags:** embedding, wordpress
**Created:** [March 8, 2023, 10:23pm UTC](https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544 "2023-03-08T22:23:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [March 8, 2023, 10:23pm UTC](https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544/1 "2023-03-08T22:23:59Z")

</div>

I’m having this issue. I made no changes to the server:

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/e/4/ae405abcef910fbd3cf088bdde92a6bad32237a1.png)

Is this familiar to anyone where it just stops working out of the blue?

When I inspect the missing image, I see this:  
 ![image](https://global.discourse-cdn.com/meta/optimized/4X/0/3/0/03001d4b90731c143a4f041a311741a8ecfed114_2_690x57.png)

Edit: I restored forum backups from as far as a week ago. No luck.

The images worked up to this morning. Do they depend on some external service besides Wordpress?

What can I check from Wordpress’ end?

Edit 2: Restoring a WP backup from last night did the trick. So reverting then will diff all files.

---

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [March 8, 2023, 11:19pm UTC](https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544/2 "2023-03-08T23:19:01Z")

</div>

Now I’m stumped. So I restored the backup that I made before reverting to yesterday’s WP backup (the one with images not working), and now the images are STILL working.

So sure what the issue was or if I will ever find the cause.

Edit: So the issue was actually still there. (Once I cleared the browser cache) I restored backups for WordPress and Discourse as old as a month ago and still have the issue. Really strange.

Edit: I notice that Discouse has excluded importing images to to the forums. Is this because it’s problematic?

For example:

2 Images…

> **[Discourse Chat is now available.](https://blog.discourse.org/2022/08/discourse-chat-is-now-available-try-it-out-today/)**
>
> Chat is here! Enable conversations in your community to flow between faster-paced chat and slower-paced discussions.

Images removed…

> [@Discourse Chat is now available. Try it out today!](https://meta.discourse.org/t/discourse-chat-is-now-available-try-it-out-today/234824):
>
> [Discourse Chat](https://meta.discourse.org/t/discourse-chat/230881/3) is now available to everyone as an open beta and is [100% free and open source](https://github.com/discourse/discourse-chat), as always. This is a companion discussion topic for the original entry at [https://blog.discourse.org/2022/08/discourse-chat-is-now-available-try-it-out-today/](https://blog.discourse.org/2022/08/discourse-chat-is-now-available-try-it-out-today/)

How can this be achieved because this does not seem to be an issue with config or server because I restored both WP and Discourse to backups longggg before this issue and images are still missing.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [March 9, 2023, 2:12pm UTC](https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544/4 "2023-03-09T14:12:43Z")

</div>

> [@haydenjames](#):
>
> Did Discourse 3.0 break the import of images into the forums from WP-Discousre?

Not that I have seen.

---

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [March 9, 2023, 2:17pm UTC](https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544/5 "2023-03-09T14:17:08Z")

</div>

Noted. I was able to solve it. At least, I think so. I will wait a bit to confirm, then follow up next week n’ mark that thread solved if images don’t go missing again. 🤞

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [March 9, 2023, 2:32pm UTC](https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544/6 "2023-03-09T14:32:27Z")

</div>

I’ve slipped over these posts to here to keep the conversation grouped together. 👍

---

<div class="post-metadata">

### Author: ![haydenjames](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haydenjames/32/255678_2.png) [@haydenjames](https://meta.discourse.org/u/haydenjames)
#### Post date: [March 10, 2023, 1:55pm UTC](https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544/7 "2023-03-10T13:55:51Z")

</div>

The solution to this - I’ve since confirmed by recreating the issue and fixing again - was:  
Disabling the [WP-Rocket](https://wp-rocket.me/) **LazyLoad** feature.

I’m not sure how this conflicts (not my area of expertise), which is why I was hesitant about posting as the solution, but after testing this repeatedly, I can confirm blog images will fail to load on my setup when WP-Rocket’s LazyLoad feature is enabled.

I tried FlyingPress previously and had the same issue (worse actually, because ALL images forums+blog stopped loading) so I switched to WP-Rocket.

Now WP-Rocket works with Lazyload disabled. (Lazy loading is built-in by default a lot now anyways)

Current settings which don’t affect wp-discourse images in the forums:

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/2/2/e2270f01672e29dd293258b2ab53989e53e3375b.png)

Leaving this here in case anyone else comes across this issue.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 9, 2023, 1:56pm UTC](https://meta.discourse.org/t/missing-wp-post-images-in-forums-see-screenshots/257544/8 "2023-04-09T13:56:15Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
