We are looking to do Media cleanup of images which are not being referenced. But there are some images which are used in Rich Text Editor of the nodes. So, we should not delete those images.
Can someone help in providing some DB script which will help in identifying all the images which are not referenced anywhere.
Thanks for the reply. But as mentioned we have some Rich Text editor, where the Media URL is directly embeded in the RTE. We even need to consider this.
Is there any DB script which help us in finding the unused media including the RTE check as well.
It reports the files not used in any media item and in any Rich Text editor content.
About the images not referenced in any content, it is a little harder because they could be used in some template or macro, and that would be difficult to identify... but that package is a good start to remove useless files.
Umbraco Media Cleanup
Hello,
We are looking to do Media cleanup of images which are not being referenced. But there are some images which are used in Rich Text Editor of the nodes. So, we should not delete those images. Can someone help in providing some DB script which will help in identifying all the images which are not referenced anywhere.
Thanks for your help.
Hi,
This package let's you see where a media item is used : https://our.umbraco.org/projects/backoffice-extensions/media-content-usage/
Maybe that can help you out ? Haven't tried it my self.
Dave
Hi Dave,
Thanks for the reply. But as mentioned we have some Rich Text editor, where the Media URL is directly embeded in the RTE. We even need to consider this. Is there any DB script which help us in finding the unused media including the RTE check as well.
Thanks.
Hello, also here, please take a look at this: https://our.umbraco.org/projects/backoffice-extensions/mediacleaner/
It reports the files not used in any media item and in any Rich Text editor content. About the images not referenced in any content, it is a little harder because they could be used in some template or macro, and that would be difficult to identify... but that package is a good start to remove useless files.
Thanks, Michele
is working on a reply...