Bug 21220

Summary: Google Books covers are using zoom-5 which displays title page instead of cover
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: OPACAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: tomascohen
Version: Main   
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 Nick Clemens (kidclamp) 2018-08-14 14:52:26 UTC
To recreate:
1 - Enable GoogleJackets
2 - Do a search on the OPAC
3 - Note that some covers are very large and show the cover page instead of the expected voer
4 - Inspect the element in the browser
5 - Note URL param zoom=5
6 - Change this to zoom=1 and note the cover looks right
Comment 1 Owen Leonard 2018-08-14 15:51:54 UTC
I noticed this for the first time yesterday, which makes me think perhaps something changed on Google's end? the "zoom=5" is part of the response from Google's API, so it's not something we can easily change in our code.

I did confirm that we are following Google's code suggestions (https://developers.google.com/books/docs/dynamic-links). I'm not sure where to go next on this one.
Comment 2 Owen Leonard 2019-11-20 18:22:53 UTC
This appears to have been resolved on Google's end. Koha still sends the zoom=5 parameter but I'm not seeing any problems with the covers.