put image back to index