[Koha-bugs] [Bug 18978] Amazon returns 1x1 pixel image on shelf browse, preventing the "no cover image" image from showing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 1 18:42:00 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18978

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Amazon always returns a 1x1 pixel if they don't have a cover image. That's why
we have some JavaScript which is supposed to check for them:

/koha-tmpl/opac-tmpl/bootstrap/js/amazonimages.js

This technique originated here:

http://archive.oreilly.com/pub/a/javascript/2003/10/21/amazonhacks.html

It sounds like the problem is that either the script isn't running correctly in
the shelf browser or the shelf browser is using markup which prevents the
images from being recognized by the script.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list