@@ -, +, @@ detail page, staff interface a. Turn on LocalCoverImages and AllowMultipleCovers b. Add several local cover images to a bibliographic record c. Add several local cover images to an item d. Click on an image and confirm that it is displayed in a gallery and you can navigate see all the images attached to the bibliographic record e. Same for items a. Turn on AdlibrisCoversEnabled b. Edit the biliographic record and add an ISBN that will return a cover image for this service (9780670026623 for instance) c. Display the cover images in the gallery d. Note the link to the adlibris.com website at the bottom a. Turn on AmazonCoverImages b. Display the cover images in the gallery a. Turn on IntranetCoce, set CoceHost to "http://coce.tamil.fr:8080" and select some values for CoceProviders. b. Display the cover images in the gallery a. Turn on CustomCoverImages and set CustomCoverImagesURL to https://covers.openlibrary.org/b/isbn/{isbn}-M.jpg of anything else meaningful b. Display the cover images in the gallery --- koha-tmpl/intranet-tmpl/js/coce.js | 3 +- .../prog/en/modules/catalogue/detail.tt | 55 +++++++++++++------ 2 files changed, 41 insertions(+), 17 deletions(-) --- a/koha-tmpl/intranet-tmpl/js/coce.js +++ a/koha-tmpl/intranet-tmpl/js/coce.js @@ -39,7 +39,8 @@ KOHA.coce = { $(this).closest(".coce-coverimg").remove(); } }; - $(this).html(img); + $(this).attr('href', url); + $(this).append(img); }); } }, --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -43,6 +43,7 @@ [% END %] › Catalog › Koha [% INCLUDE 'doc-head-close.inc' %] +[% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %]
@@ -196,8 +197,8 @@ [% IF localimages.count %] [% FOREACH image IN localimages %] @@ -207,8 +208,8 @@ [% IF ( AdlibrisEnabled && normalized_isbn ) %] @@ -216,8 +217,8 @@ [% IF ( AmazonCoverImages && normalized_isbn) %] @@ -227,7 +228,7 @@ [% coce_id = normalized_ean || normalized_isbn %]