allow full URL for image detection. adapt image2text image file