See 2 methods for deleting images from a post or page.
NOTE: This will delete all instances of the image even if it is also being used in another post or page.
Tutorial
Transcript
Read how to do the deletions.
Method 1 for both Classic and Gutenberg editors
Go to the post or page.
Go to Text view mode for Classic Editor or Code editor for Gutenberg.
- Click once in the code window so that it will be selected
- Hit Cntl+F or Cmd+F to bring up the search field.
- Search for img
- All instances of images embedded should be highlighted.
- Copy the slug.
- Example pallet-board-dog-kennel-crate-the-dog-loves-it-o.jpg
Open a new browser tab and go to your site
- Go to the Media Library.
- Go to List view
- In the search field, paste the image slug.
- It should appear in your list.
- Hover over it and click Delete Permanently.
Return to the tab with your post and copy the next image slug.
Repeat for all remaining images.
Method 2 for Classic Editor Only
Open the post or page in the editor.
It’s okay for it to be in the Visual View Mode
Click on Add Media.
Click on the Media Library tab.
Set the Filter Media drop-down to Uploaded to this post.
Click once on the image you want to delete to highlight it.
In the sidebar, click the Delete Permanently link.
Wrap up
Subscribe to the BlogAid YouTube channel for more helpful tips like this.
Leave a Reply