If I allow users to have a quota "account" and images are deleted for space purposes. Will the nodes that the deleted images were used in no longer have those images?

Hope this makes sense???

Comments

hutch’s picture

No don't do that!
It works like this:
The uploaded images are stored under 'files/imagepicker/[user id]/
There are entries in the imagepicker tables to store metadata such as title, description, groups etc
The insert mechanism does just that, it builds the html according to what you have asked for and inserts it into the textarea box at the point where your cursor is. This is done clientside, using javascript running in the user's browser.
There is no record kept of what has been inserted nor would there be any point as the html fragment could be deleted without Imagepicker knowing about it so the record would soon become inaccurate.
When you delete an image from Imagepicker the actual image (plus thumbnails etc) is deleted and it's record in the db table removed. The link to it will still be there.
If you want to keep track of 'used' images then make a group called 'Used' and add those images to that group. A group is just a tag really.

matthew gibbon’s picture

Thanks, that's what I thought. I was hoping to find a similar quality module that allows users the ability to Store images regularly used in their quota, then if they need to economize their quota they can delete old images without jeopardizing previously created nodes using those images.

hutch’s picture

They would need to be displayed outside the body. The image module stores images as published entities which can be added as a field to a content type. Of course you would still have to remove them from any content they were added to before deleting the image, and you would not be able to display them inside the 'body' field.

matthew gibbon’s picture

Status: Active » Closed (fixed)

Query answered