• Sean

    (@seanlaurence)


    There’s a problem with the “Remove featured image” link in my posts. I want to set a featured image. I go to edit my post and it says “Remove featured image” (even though I’ve never set a featured image).

    When I click the “Remove featured image” link nothing happens. This doesn’t happen on all my posts. Only the posts starting on page 3. For example, “Ed-2: A Robot that Inspires”, “Chief Innovation Officer of Massachusetts Wants Your Help”, and “How To Keep Your Blog Safe and Secure”.

    I want all my posts to have a featured image before you click into them. Like my home page (with the 5 circular pictures).

    My website is:

    https://www.seanlaurence.com

Viewing 13 replies - 16 through 28 (of 28 total)
  • Thread Starter Sean

    (@seanlaurence)

    What should look for when I go to Inspect Element (aka “view element”)? I see a lot of lines of code (some HTML, some CSS). I don’t know where to look for a broken image.

    I made a new post. I can set the Featured Image without a problem. I have the problem when I click “Remove featured image”. Nothing happens when I click that link (even with a new post). I think it might be a bug in WP…

    : – (

    Could you try my steps above, but with the featured image specifically?

    Thread Starter Sean

    (@seanlaurence)

    ElectricFeet: I can’t. Nothing happens when I try to click on the featured image.

    Media > Media Library gives you a row for each image. You don’t need to click the image. You simply need to hover over the row for “Delete permanently” to appear. Make sure you have a copy of the image on your local disk before deleting.

    Then follow the other steps and report back.

    Thread Starter Sean

    (@seanlaurence)

    ElectricFeet: I followed your steps. I still have the same issue. ??

    Sorry for the mega-delay. I think I didn’t explain step 2 well enough. I said:

    – Use FTP to delete any remaining copies of the various sizes of the image. (This, in my opinion, is where the problem lies.)

    and you replied:

    2. Deleted 1 version of an image that was on FTP site (concept2-620x 180-1.png). It was the only one I could find.

    I’ll try to explain a little better.

    What you need to do is use an ftp client such as Filezilla and login to your site. You may need some help from your hosting company to do this. You will need to use a password that they will give you (or you may be able to find it via your control panel). Alternatively, you may have a hosting deal that gives you some sort of file manager, in which case you can use that.

    You then need to navigate to the htdocs > wp-content > uploads folder. Depending on your settings, you may find all your images there, or you may find them in subfolders by date. Your media library edit screen will tell you the File URL: which will give you a clue.

    See if you can find the image that should have been completely deleted there. You may see a subset of the following:

    my-image-150x150.jpg
    [email protected]
    my-image-270x250.jpg
    [email protected]
    my-image-300x300.jpg
    [email protected]
    my-image-1024x500.jpg
    [email protected]
    my-image.jpg

    Some of these files may not have been deleted properly and you will need to delete them manually.

    Warnings:
    – Only delete an image manually if you have deleted it previously through the WordPress screens. Otherwise your database and images will get out of sync.
    – Check that you have deleted all the occurrences of the image in the media library and all the occurrences in the folders via FTP.

    Once you have fully eliminated the files, you should be able to re-upload with Customizr activated — with retina switched on — and be OK.

    Another approach entirely would be to use the Force regenerate thumbnails plugin, rather than the Regenerate thumbnails plugin. According to the author, this deletes the old images that are still hanging around after a delete. Personally, I prefer to do my own deleting, but this may be an approach you are comfortable with.

    Thread Starter Sean

    (@seanlaurence)

    Thank you for your detailed response, ElectricFeet. I’ll give it a shot and post back soon.

    Well, you have tried everything. You need to grant delete rights to the database user which is connecting your wordpress to database ??

    Hopefully that is the issue.

    Thanks shaikhzaid. This is a two month old post. In the meantime the “retina bug” in Customizr has been fixed.

    Thread Starter Sean

    (@seanlaurence)

    I used the Regenerate Thumbnails plugin from Alex Mills. I’m still having the same problem. When I click on “Remove featured image” nothing happens. ??

    Sean, are you using the latest version of Customizr?

    What happened when you deleted all versions of the image using FTP?

    Thread Starter Sean

    (@seanlaurence)

    Yeah, I’m using the latest version of Customizr. I’m on 3.1.15.

    I still had the same problem after deleting all versions of the image with FTP.

    Wow, this must be one of the longest-running threads out there. I thought you’d solved this long ago ??

    Next steps I would take:

    1. Use Force Regenerate Thumbnails, not Regenerate Thumbnails.

    2. If that didn’t work, I’d consider forcefully removing it from the database with SQL, but as that’s beyond my skill level, I suppose I’d

    3. Delete the page/post and recreate another one with a differently-named copy of the image.

    Solution 3 should blast the problem into the stratosphere. Don’t know why I didn’t think of it earlier…

Viewing 13 replies - 16 through 28 (of 28 total)
  • The topic ‘Remove featured image problem’ is closed to new replies.