Fix getting image.