handle deletion of images outside of app gracefully