• Hi,
    I have a weird problem about uploaded images.

    In backoffice:
    – Upload an image in the media page
    – Go in to a post or page
    – Set that image as featured image and save
    – Remove the featured image from post and save

    After these steps my image becomes blank in media page (the default file icon appears instead of the thumbnail).

    I discovered that every time I remove an image as featured image all of its records in the ‘postmeta’ table are deleted and therefore the only trace of the media remains in the ‘posts’ table. The image files still in uploads folder.

    I tried to change the theme and disable all the plugins but the problem remains.
    The problem affects all images of any size and weight.

    How can I solve it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You don’t say what version of WordPress you are using, or what plugins, but it sounds as if a plugin is causing trouble.
    You can install the Health Check plugin and use its Troubleshooting mode to isolate which plugin is misbehaving.

    Thread Starter aleviz

    (@aleviz)

    Hi Joy,
    my WordPress version is 5.1.1.
    I just used the plugin you linked to but the problem persists.

    Well, I just tried it on a clean 5.1.1 and could not reproduce the problem. So it must be one of your plugins (hopefully not a theme).
    Did you use the Troubleshooting mode of Health Check?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image becomes blank after removed it from post featured image’ is closed to new replies.