Company News

How To: Properly Remove Images from WordPress Pages and Posts

January 30, 2017

Have you ever been in a situation where you deleted an image in the WordPress editor, but the image itself still indicates that it is linked to a page or post? Keep reading if you want to learn how to properly remove images from WordPress pages and posts!


You’re updating a website or blog through WordPress, because a picture is no longer wanted on a page or post. You head in to Edit and remove the picture, but the image remains linked to your page or post. This could lead to confusion for your site visitors if your site is set up in a way where each image/attachment gets its own page.

For example: in my Going Paperless blog post, I initially used a stock image to demonstrate the ideal paperless office. After publishing the post, I was able to grab a picture of Sean‘s workspace -which was a better fit for the post – so I replaced the picture.

Done and dusted, right? Nope! The previous image was still linked to the page.

How to properly remove images from WordPress pages or posts:

First, head to the suspicious page/post and click on Add Media, just above the WYSIWYG editor.

How To Properly Remove Images from WordPress Pages and Posts


In the Insert Media window that pops up next, head to the Media Library tab.

How To Properly Remove Images from WordPress Pages and Posts


Once you’re in the Media Library, you can choose to filter by different criteria. Choose Uploaded to this post.

How To Properly Remove Images from WordPress Pages and Posts


At this point, the culprit(s) should be clear. In the Attachment Details, found upon clicking an image, you can choose to Delete Permanently if you wish.

How To Properly Remove Images from WordPress Pages and Posts

Thanks for reading my blog post on how to properly remove images from WordPress pages or posts.

Have you encountered this before? Did I miss anything? Let me know in the comments below!

Oh, and follow me on Twitter if you fancy.

8 Responses

  1. Krina says:

    Thank you for this article. For more, like remove and post another image in that place, should I follow these steps with no implications? like SEO of that image?

    On my first post I’ve placed small images (600×800), that became smaller with WPSmush. I want to remove all images, make it bigger and put it back. With WordPress editor I’ve managed to change only few of them.

    Thank you again. All the best!

    • kskapski says:

      Hi Krina, thank you for the “thank you”. 🙂

      I am not familiar with WPSmush so your question may be a good one for their support team. In terms preserving the SEO for an image, I would imagine as long as the new one has the exact same file name you should be fine. I am by no means an SEO expert, so it may be a good idea to consult with someone who specializes, or at least knows a bit more than me… ha 😉

      However, you’ve given me some good food for thought for a future blog post…

  2. Dr Robert says:

    Thanks for your help, I wa able to delete an image from my home page but there is still a “place holder” left on the page that I cannot get rid of.
    The website was designed by a third party who abdicated responsibility for the site so I have been left to my own devices.

  3. Max says:


    thanks for the useful article. Please, confirm, is this ‘Delete Permanently’ deletes all image sizes WP generates at the upload?

  4. Jennifer says:

    I have followed the steps that you have suggested here and permanently deleted the image. I don’t see it in the desktop display but on mobile devices it is there. I am using the Avada theme and can’t figure this out. Do you have anymore suggestions.

  5. Mini says:

    Hi, after I use the “Delete Permanently” function, the image vanishes from the Library. But the problem I am facing is when I try to upload a different image under the same name, the old image which I had deleted re-appears. As a result, I am not able to replace my images. Whenever I try to replace, the old image comes up. Any suggestions?

    Thank you!

    • kskapski says:

      Hi Mini, that is a pretty common problem with WordPress. If you are able to flush your cache via your hosting provider, that should clear the issue. If not, an easy workaround (though frustrating) is to simply rename the file before uploading again. Are you wanting to keep the same image name because there is code somewhere that references a specific path? Cheers!

Leave a Reply

Karin Skapski

Karin Skapski

Subscribe via Email


Powered by...

itgroove Corporate Profile
Connect With Us