Deleting images using plugin:
You can use this plugin, it will search your database and look if image is inserted into any post (in content, as featured image, in any custom field, anywhere…) or as background…
If image is not used anywhere it will give you option to delete it.
You will get list of all images on your site not used anymore, so you can safely delete them.
https://wordpress.org/plugins/dnui-delete-not-used-image-wordpress/
and this, still work, even it is outdated
https://wordpress.org/plugins/wordpress-uploaded-files-cleaner/
Deleting images manually:
You can also search through your media library for images which are unattached to posts and pages.
Go to media library and click the “unattached” it will display all images that may be displayed on other parts of your site or not used.
Related Posts:
- Exclude first image from a Woocommerce image gallery
- How to extend the gallery block in Gutenberg?
- Prevent WordPress from adding image’ title automatically
- Overide Gallery Default Link to Settings
- How to have different captions for same image, for galleries?
- get_post_gallery_images returns thumbs . I want full size
- WP 3.5 and Galleries – how to count images?
- Navigate with keyboard in Gallery shortcode
- Cropped featured image replaces original image in gallery
- get images from post and make a zip
- Change the output for [gallery] shortcode
- Making WordPress Gallery (.gallery-item) Responsive?
- How do you modify the HTML output of a Gallery item (using the gallery shortcode)?
- How to include externally hosted images into a gallery block
- Excludes posts that don’t have attachments in the_content()
- Setting up a gallery with images and a zip download
- How to remove title attribute from gallery links and images
- How can I make all gallery images to open in a new window?
- The WordPress Gallery, Grabbing The Link and Images?
- Displaying a featured image (only img url) as the img src?
- How to force WordPress to add new images at the beginning of the gallery?
- How to link Gutenberg Gallery images To Media file automatically?
- Did I do it right? Deleting images after deleting product. Woocommerce
- How to Make WordPress Default gallery responsive on mobile?
- get attributes/part of the gallery shortcode
- Different captions for the same image in multiple galleries. Edit Image in Gallery locally
- Any way to “combine” galleries or show multiple galleries as one?
- Best option for photo/gallery handling?
- Gallery post images on homepage?
- How to create a simple slideshow out of a post image gallery?
- How to change the target size of images clicked on in WordPress standard gallery
- Get meta data from image
- Exclude featured image from gallery in wp-admin
- Woocommerce featured image of page – not product
- WooCommerce-like featured gallery
- wordpress get gallery images title
- How to use photo in multiple posts?
- Is this post using WordPress Gallery?
- Customizing the attachement page to show rest of all images in a gallery from post
- Retrieve an array of image URLs that belong to a gallery
- wordpress (woocommerce) add image to media library programmatically python
- Resize into square the single product image in woocommerce without cropping [closed]
- Ho to add “Create Slider” option to default “Add Media” popup?
- How to make a gallery with dynamic images from URLs?
- Removing featured image from gallery?
- Creating a post image to show in a gallery
- Don’t show images inserted into content
- Native gallery sorting is ignored
- Using Jetpack carousel w/o creating a gallery [closed]
- Media gallery images url instead of ID on WP API Response
- Load Gallery Images with Title on Homepage BX Slider
- Re-ordering images in existing post in wordpress 3.6.1
- Autosort uploads in galleries by filename
- How to display original unmodified thumbnail
- One picture belonging different galleries?
- How to make footer area transparent? Using Avada and WordPress [closed]
- Product Images Low Quality After Updating From WP 3.5 to 4 [closed]
- Hide image gallery in Woocommerce if NO image [closed]
- How to remove the images from “Uploaded to this post”?
- limit number of images shown from gallery
- How to automatically populate a gallery with images attached to posts of one category?
- Pagination between images (active/inactive)
- Can i have 2 separate Galleries on 2 separate pages each go to a DIFFERENT Attachment.php file?
- Allow users to upload and display multiple photos
- How to change Gallery image url in product page ? In function.php?
- How do you obtain a list of all image file names on a wordpress website for replacement?
- Implementing a modal(lightbox) for all images in all post-gallery posts
- how automatically show the image title before the image caption/description in a wordpress gallery?
- Images getting smashed
- change the h3 subtitles of the wordpress gallery shortcode
- How to re-arrange images in default WP Gallery more than one image at once?
- Convert multiple image blocks to gallery block in Gutenberg?
- When upload a PNG a noise appears in the thumbnails
- get_post_gallery with Gutenberg
- Images 404 after wp migration to a subdomain
- Why does wp_get_attachment_image_src return the wrong size, when the correct size exists?
- How to delete images from database with product
- WooCommerce Variation Swatches and Photos – get attribute thumbnail
- How can the alt be added to this wooCommerce category image?
- Bypass wp_safe_remote_get()?
- Image thumbnail on single product issue | WooCommerce
- Gallery Images could not be shown
- How do i replace the title attribute of img tag with the image caption
- Gallery with shortcode not showing
- Show WordPress Image Title Under Custom Portfolio Image
- Replacing an Image gallery
- Thumbnail gallery by date and taxonomy
- How to display every pictures from all the posts on one page?
- How to add multiple images in a page
- Thumb doubles the image file size
- Thickbox not displaying just the image, instead showing full page in lightbox
- Multiple gallery thumnbnails on one page
- Paginate Gallery [closed]
- How do I set the sizes of my thumbnails when inserting a [gallery]?
- Display X images from a gallery in the sidebar
- Adding different classes to different images depending on size for fine control of image layout in posts
- Automatically adding blog images to a portfolio/gallery
- How to show image caption in Woocommerce gallery
- Image Attachments Query Not Working If Post Is Loaded Via Ajax
- Images uploaded in customized gallery do not link to media