There is a WebView , which loads the HTML from the server. It has <img> tags that contain a shortcut to the image, for example, <img src="/upload/images/1.jpg" /> .
When loading this HTML, images are not displayed (only frame). Obviously, it’s not possible to upload these images due to a short link.
How to make the pictures loaded in the WebView for the full link, for example, http://www.example.com/upload/images/1.jpg ?
Found download options from local files, but this option is not suitable.
urlon which it breaks? Most likely a slash at the beginning of the extra.<img src="upload/images/1.jpg" />- Gralexlet pubHTML = receivedPubText viewPubHTML.loadHTMLString(pubHTML, baseURL: nil)and in HTML:<img src=\"\/upload\/images\/DSC_34122222222222.JPG\">- Roman Ekimov