Clean get_image method