View Single Post
Old 01-18-2015, 06:28 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,371
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There's no way to delete any kind of file (image or otherwise) that will result in all links to those files being automatically removed. The links have to be deleted manually, or with some sort of regex cleanup. Once all links are gone from the html files, the Delete Unused Media tool will show all images that are unused and can be deleted.

It's definitely something that a plugin could be created to do though. Have the plugin present a list of images to delete, and then parse all the xhtml and remove any img tags that refer to the deleted images.

Last edited by DiapDealer; 01-18-2015 at 06:37 PM.
DiapDealer is offline   Reply With Quote