[OPEN-ILS-GENERAL] [EXTERNAL] - Re: adding a picture to header and footer
Boyer, Jason A
JBoyer at library.IN.gov
Thu Aug 22 08:31:59 EDT 2019
I wouldn't ordinarily think it would matter, but do you have the actual src property wrapped in quotes? At least one parser (in Outlook, at least) appears to be considering everything through the closing angle of the div to be part of the url. It's something to test anyway, along with loading the image url manually on one of the machines where it won't print just in case there's something else going on.
Jason
--
Jason Boyer
MIS Supervisor
Indiana State Library
http://library.in.gov/
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Bill Coffey
Sent: Wednesday, August 21, 2019 5:11 PM
To: 'Evergreen Discussion Group' <open-ils-general at list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] [EXTERNAL] - Re: adding a picture to header and footer
**** This is an EXTERNAL email. Exercise caution. DO NOT open attachments or click links from unknown senders or unexpected email. ****
________________________________
I get it to show up on the checkout preview, but they randomly show up on the receipt.
Coding for the image
<div align="center"><img src= https://www.wcpl.org/imageRepository/Document?DocumentID=1238></div<https://www.wcpl.org/imageRepository/Document?DocumentID=1238%3e%3c/div>>
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Benjamin Kalish
Sent: Wednesday, August 21, 2019 4:20 PM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org<mailto:open-ils-general at list.georgialibraries.org>>
Subject: [EXTERNAL] - Re: [OPEN-ILS-GENERAL] adding a picture to header and footer
Alternatively you can use a data url<https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs>. I've always used data urls, because for some reason or another I assumed we couldn't access network resources in print templates. It's good to know that's possible!
Benjamin Kalish
Forbes Library / 413-587-1012 / bkalish at forbeslibrary.org<mailto:bkalish at forbeslibrary.org>
Support Forbes Library:
· Consider giving a gift<http://www.forbeslibrary.org/giving> to Forbes Library
· Vote for the Friends of Forbes in the Florence Bank Community Grant Program<https://www.florencebank.com/vote>.
· Join the Friends the Forbes today<https://forbeslibrary.org/friends/>!
Currently reading: The Indian Clerk by David Leavitt
Just Finished: The Tombs of Atuan by Ursula K. Le Guin
For information about accessibility at the library, please see: http://forbeslibrary.org/accessibility/
On Wed, Aug 21, 2019 at 1:15 PM Boyer, Jason A <JBoyer at library.in.gov<mailto:JBoyer at library.in.gov>> wrote:
Hi Bill, since the receipt templates are eventually converted into plain HTML before being printed, you can just place an <img> tag wherever you'd like the image to appear. You will need to be certain though that the image url uses https or it won't load.
Jason
--
Jason Boyer
MIS Supervisor
Indiana State Library
http://library.in.gov/
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org<mailto:open-ils-general-bounces at list.georgialibraries.org>] On Behalf Of Bill Coffey
Sent: Wednesday, August 21, 2019 12:57 PM
To: Evergreen Discussion Group (open-ils-general at list.georgialibraries.org<mailto:open-ils-general at list.georgialibraries.org>) <open-ils-general at list.georgialibraries.org<mailto:open-ils-general at list.georgialibraries.org>>
Subject: [OPEN-ILS-GENERAL] adding a picture to header and footer
**** This is an EXTERNAL email. Exercise caution. DO NOT open attachments or click links from unknown senders or unexpected email. ****
________________________________
We want to add a picture header and footer to our checkout receipts for both the web version and the software client.
Has anyone done this and what do I need to do to insert them into the receipts.
We are using all Star TSP 847 printers.
Thanks
[WCPLLogo_email]
Bill Coffey
Systems Administrator
Wayne County Public Library
1001 E. Ash St
Goldsboro, NC 27530
Phone: (919) 735-6249
Cell: (919) 750-6456
Fax: (919) 731-2889
email: bill.coffey at waynegov.com<mailto:bill.coffey at waynegov.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20190822/a290e1ba/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8214 bytes
Desc: image001.jpg
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20190822/a290e1ba/attachment-0001.jpg>
More information about the Open-ils-general
mailing list