Admin show case

Added functionality for releasing images from magento admin panel
What if user changed id to delete other images/products?