Whilst it is easy to permanently delete a Topic, I can’t see a standard way to permanently delete a specific image whilst simultaneously retaining the rest of the Topic.
The problem this creates is as follows:
User posts confidential image
Confidential image is deleted – but remains in revision history, and therefore in database
To adhere to confidentiality regulations, I need to be able to delete that image from the database. Currently I get the url of the image, hunt it down in the server, and delete it directly. This isn’t particularly fluid, and I don’t like the idea of deleting the image file, without cleaning up the references to in in the Database.
I could make a python script to automate the steps I take for deletion, simply giving the url of the image as an argument, but I’m wondering if maybe there is already a proper/standard way of doing this?
Actually it looks like this is done automatically if you delete the image, and it is not used anywhere else
When using a browser which has already viewed the image, I can still see the image in the revision history, but it is only a local copy made by the browser – the image is no longer on the server, and it cannot be seen by other users unless they have seen it previously.