[Koha-bugs] [Bug 25031] Improve handling of multiple covers on the biblio detail page in the staff client
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 17 23:46:36 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25031
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #103040|0 |1
is obsolete| |
Attachment #103079|0 |1
is obsolete| |
--- Comment #10 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 105986
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105986&action=edit
Bug 25031: Improve handling of multiple covers on the biblio detail page in the
staff client
This patch modifies the template, JS, and CSS for the bibliographic
detail page in order to gracefully handle multiple cover images.
The changed version loops through any cover images which might be
embedded and checks that they are successfully loaded. Only
successfully-loaded images are shown. Only the first image is shown, and
the others can be "paged through" using generated navigation controls.
To test, apply the page and rebuild the staff client CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).
Enable multiple cover image services. The patch was developed with these
services available:
- Amazon
- Local cover images (including multiple local cover images)
- Coce (serving up Amazon, Google, and OpenLibrary images)
- Images from the CustomCoverImages preference
View a variety of titles and confirm that the cover images are
displaying correctly, whether there be 0, 1, 2, or more covers
available.
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list