modify deleteImage for video