Better external_image handling.