Bug 29445

Summary: Provide an option to not show Coce cover images on specific records
Product: Koha Reporter: Esther Melander <esther.melander>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lucas, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: An example of image not being replaced.

Description Esther Melander 2021-11-09 19:36:39 UTC
To duplicate:

In this scenario, the Coce image service pulls the incorrect cover image.

1. System setting AllowMultipleCovers is set to allow and CoceProviders is set to all.
2. Upload a new image cover and select replace cover image.
3. Check the normal view in the staff client and see that the new image displays as the default image and the Coce image displays as a second hidden image that can be selected to view.
4. Check OPAC view, both images continue to be displayed.

Repeat these steps but set AllowMultipleCovers to not allow. Both images continue to be displayed.

I would have expected that by checking replace cover image that the cover image is actually replaced. Instead it looks like ticking that box sort of makes the image the first image that is displayed but doesn't actually replace.

As for the setting AllowMultiple Covers - this needs clarification. Ideally a bib record should allow multiple images but with the option to select the default cover image and the ability to not show the Coce image if it is not correct.

This may be related to ticket 29359 and 26933. It looks like additional cover image tools or preferences are needed. Selecting a default image, actually replacing a cover image in place of the Coce image, deleting an image, selecting how many images show, etc.
Comment 1 Esther Melander 2021-11-09 19:41:19 UTC
Created attachment 127495 [details]
An example of image not being replaced.

The uploaded image is on top, the Coce image is below. We would like the Coce image to go away.
Comment 2 Katrin Fischer 2021-11-10 09:31:23 UTC
Hi Esther, 

the "replace cover image" feature only applies for local cover images as they are stored in your database. You cannot use it to change covers that come from the Coce cover web service.

Coce itself doesn't store cover images, but only caches the URLs to be able to provide them faster than having to check with the provider each time.

What you'd need for that is a way to "alert" the Coce server about wrong images that are supplied by one of the providers it checks to "blacklist" them there. Or a way to say: never show a Coce cover for this record in Koha.