Bug 21220 - Google Books covers are using zoom-5 which displays title page instead of cover
Summary: Google Books covers are using zoom-5 which displays title page instead of cover
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-14 14:52 UTC by Nick Clemens (kidclamp)
Modified: 2020-11-30 21:45 UTC (History)
1 user (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.