(This time to the list. Apologies to Will who gets this email twice.)

Funny thing you should mention this here.  Rogan brought it up in IRC
and a couple of us chimed in that it should work.

You should also be able to embed SVG graphics in your templates as well:



On 8/21/19 2:12 PM, Will Matheson wrote:
> 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