Adding ability to delete image via index. Commenting out some error detection for review.