added delete image option