[Bug 18978] New: Amazon returns 1x1 pixel image on shelf browse, preventing the "no cover image" image from showing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18978 Bug ID: 18978 Summary: Amazon returns 1x1 pixel image on shelf browse, preventing the "no cover image" image from showing Change sponsored?: --- Product: Koha Version: 16.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: michael@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org When using Amazon as a source for cover images, images within the shelf browse feature can be 1x1 pixel, thus preventing the no image available image from showing. An example of the image returned is: https://images-na.ssl-images-amazon.com/images/P/0844254525.01._AA75_PU_PU-5... Some would prefer the "no cover image available" to be shown rather than this 1x1 pixel image. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18978 --- Comment #1 from Owen Leonard <oleonard@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18978 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- This bug doesn't appear to be valid in master. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org