finish image by id