The image I wanted to print on the invoice did not display. It shows the error in the red line “the file scheme is not supported”.
It used to display normally in the previous versions of Manager. Once I updated to the latest version this problem persists. Is there any way to make it display the image on the invoice, quotation etc.? Thank you.
If you know how to edit the theme, then a quick fix is to encode the image to base64 from here: Encode Base64 online
Then dislplay it following this patern:
<div> <p>Taken from wikpedia</p> <img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" /> </div>
On the site provided site tick this:
Then copy the whole output.
Lastly into your theme:
<div> <img src="paste your output inside these quotes here" /> </div>
@Shital, the PDF function is no longer actively supported. So, if something works, it works. If it doesn’t, you need to use the Print function and select your operating system’s “print to PDF” capability.
You also did not say what format your image was. Presumably, you are using a custom theme. So you need to show the code for that, as well. No one can help when you essentially just say, “It used to work.”
I got the solution on this matter. The image is not displayed in PDF if the link of image is of local drive. However, if we use link from internet with full URL address including http, it works very well. Thank you everyone for your comments and concerns.