update add_image to call the conversion