[OPEN-ILS-GENERAL] Silly way to put an image into a receipt
wmatheson at princerupertlibrary.ca
Wed Aug 21 14:12:53 EDT 2019
I don't really know how to attach this message to the relevant existing
discussion, but I thought it was worth mentioning that you can actually
'embed' an image in your print templates through the 'magic' of base64
Basically, you go to a site like this: https://www.base64-image.de
<https://www.base64-image.de/> , upload your image, and get the code.
And then put the code inside your <img src="CODE GOES HERE"/> where you
want it on the template.
Reasons to do this: Local file doesn't work, you don't have access to a
web server, or the place where the image lives online prohibits
hotlinking (serving the image through a site / page that's not theirs)
Downside: There's a healthy chunk of AWGewagewavew4236tjivAEWJHGI etc..
in your template.
Library Assistant - Technical
Prince Rupert Library
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Open-ils-general