Deleting images should only be done when editing