Images in HTMLView?

How can images referenced in a HTML String be rendered?

I want to Print a Report with a simple HTML Document containing images.

The HTML Document that i load into HTMLView is a product description from an online shop. It contains img tags with URL's from the shop's domain.

But external img sources are not loaded, only local images work.

Can this be somehow changed?

Ideas for workarounds?

What comes to my mind seems to be quite complicated: Maybe the images could be first downloaded to tmp and be deleted after printing and the html string be accordingly altered. Or the images could be BASE64 encoded and embedded into data-url's (those work, at least for very small images, see screenshot)

<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="

 /> myRedDot

<br>

<img src="C:\Test.jpg">

<br>

<img src="https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg">

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.