make the image a closure