Great solution to a common problem
-
This is a great solution to a common problem. In my case the website developer uploaded a new image file in each location it was used, rather than simply using the same image file already in the media library.
Like others, I like to (try at least) to keep things clean and easier to review or maintain, by removing un-used and obsolete images from the database (as might be the case if an image is updated, a promotion ends, etc.)
This plugin does great to locate the posts and pages in which a specific image is used – or shows “unused” if it is not used in any post.
I like that the list of locations in the Media Library is hyperlinked, taking me directly to the page to be edited.
One limitation however is that use of the image in other places such as in a widget is not identified, which might be a minor issue as most people probably don’t have so many widgets that they can’t be manually reviewed. A plugin like Better Search Replace will identify how MANY times a string (like an image URL) appears in the database and in which table(s), but there is no way to know exactly in which element or instance.
I’m not sure how that sort of thing could be implemented (e.g. – link to take me to the editor for that widget / element). Otherwise as of this date the Find Posts Using Attachment hasn’t been updated since introduced a year ago. It would be worthy of a code review and certification to work in the current WP, to refresh it in the extensions directory.
- The topic ‘Great solution to a common problem’ is closed to new replies.