image remove implementation