Ever been trying to work out if a media item is used within your site? And if
it is, where are all the places that it’s being used?
Here at TheFARM we had this problem and we set about solving it, and once
solved we thought it’d be a great idea to share it with the community.
To
this extent we’ve put together a handy little Umbraco Data Type which you can
attach to any media type and then find out its usages.
It’ll look up based on:
- Media Pickers (or DataTypes which store the media node ID)
- Usage within the WYSIWYG editor (based on the file-system path)
Version 1.0 of the package (released today) supports Umbraco 4.0.x.
So what can you do with it?
- When the Data Type locates an instance of the media item attached to a media
picker you have the option to directly disconnect it!
- This will modify the document, but leave it in a unpublished state, so you
can go review your change before putting it live
- When the Data Type locates an instance of the media item in a WYSIWYG field
it will allow you to view the full path to the document in the content tree, so
you can navigate there and address it
The package icons are from the beautiful FamFamFam Icon package - http://our.umbraco.org/projects/famfamfam-icons