Enhance delete photo to work with fs as well as db