Added image deletion capability