structure for image deletion

image deletion must not happen by help of index though