[OPEN-ILS-DEV] ***SPAM*** OpenLibrary some borken images and possible fix

Soulliere, Robert robert.soulliere at mohawkcollege.ca
Thu Aug 6 12:57:07 EDT 2009


Hi guys,


We were getting some broken images instead of blank images on the results display page when we started using OpenLibrary for our book covers. To work around this problem, we added the parameter

"onerror="this.style.display='none'""

to the book cover image tags on the results page at: result_table.xml.



<img name='item_jacket' class='result_table_pic' onerror="this.style.display='none'" />





I wonder if that would be a good broken image catcher for the results table or if this would cause other issues?



I see that the details page has something similar:



<img style='border: none;' id='rdetail_image'

                            onerror='

                                hideMe($("rdetail.jacket_attrib_div"));

                                hideMe($("rdetail_img_link"));'/>

                                      </a>

Thanks,

Robert






________________________________
This E-mail contains privileged and confidential information intended
only for the individual or entity named in the message. If the reader
of this message is not the intended recipient, or the agent responsible
to deliver it to the intended recipient, you are hereby notified that
any review, dissemination, distribution or copying of this communication
is prohibited. If this communication was received in error, please
notify the sender by reply E-mail immediately, and delete and destroy
the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20090806/192e0df7/attachment.htm 


More information about the Open-ils-dev mailing list