Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Guru Prasad 11 posts 80 karma points
    Dec 28, 2016 @ 09:36
    Guru Prasad
    0

    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.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 28, 2016 @ 11:49
    Dave Woestenborghs
    0

    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

  • Guru Prasad 11 posts 80 karma points
    Jan 04, 2017 @ 05:23
    Guru Prasad
    0

    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.

  • Michele Di Maria 34 posts 239 karma points
    Jan 02, 2018 @ 07:16
    Michele Di Maria
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft