How can one have images in webkit/mako reports? I have some trouble in getting them into reports, f.e. having this in .mako file does not work:
<div class="main_right"> <img src="img/logo.png" alt=""/> </div>
Image path is correct.
You can embed the image in the template text file using base64:
<img src="data:image/png;base64,[...base64 here...]" />
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/15/13, 7:56 AM|
|Seen: 3447 times|
|Last updated: 9/30/16, 8:14 PM|