Deleting replaced image