| Summary: | Amazon returns 1x1 pixel image on shelf browse, preventing the "no cover image" image from showing | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Michael Cabus <michael> |
| Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
| Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | ||
| Version: | 16.11 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Crowdfunding committed: | 0 |
| Crowdfunding contact: | Patch complexity: | --- | |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
Michael Cabus
2017-07-24 19:05:27 UTC
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. This bug doesn't appear to be valid in master. |