Photos can be deleted from database