Hi everyone,

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 encoding.

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.

Cheers,

--
William Matheson
Library Assistant - Technical
Prince Rupert Library

Reply via email to