Media Library images uploaded not displaying
-
Hi,
I’m struggling to find a solution.I did a fresh reinstall of WP with a new database.
Before changing permalinks from plain to postname I uploaded a few images.Now the images I uploaded are visible, all the others after selecting post name, once uploaded are not visible. Only if I click on Edit Image get displayed. But when I save them, they stay invisible.
If I attach them, they keep staying invisible or with a broken image symbol.I flushed the cache, went through deactivating plugins, checked on the database if the permalink structure was consistent with my new “post name” choice and it is, I checked the uploads folder and I see they are correctly crunched, but I cannot resolve it. WP Media Library sees them but unable to display them on its editor.
I noticed that the images that are visible have a permalink set to plain ex https://mydomain.com/?attachment_id=2982.
The ones I upload are with the postname structure, ex. https://mydomain.com/city-1209017/.Also, if I select the list view, the ones visible are attached to Media, the ones I upload are unattached.
Note that I’m using Cloudflare but I kept flushing the cache while testing. Also, when viewing in Media Library both visible and invisible images they have a file URL pointing to the uploads folder with https://… Not sure if this has anything to do with this issue, just to let you know.
So, I wonder if someone can solve this mystery or guide through some tests to find the reason.
thank you
- The topic ‘Media Library images uploaded not displaying’ is closed to new replies.