Bug 27187

Summary: Cannot delete/update local cover image with LocalCoverImages off
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: a.roussos, edward.m.veal, m.de.rooy, noemie.labine
Version: unspecified   
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:

Description Andrew Fuerste-Henry 2020-12-09 21:12:22 UTC
When the LocalCoverImages syspref is set to "Don't display," Koha hides the image itself as well as the Images tab on the bib details page. However, if a library has OPACLocalCoverImages on, they'll likely want to access that Images tab to delete or change the images they're displaying on the OPAC.

Could we hide the tab only if *both* sysprefs are off?
Comment 1 Ed Veal 2020-12-09 21:16:26 UTC
If you use different sources for OPAC and staff side and there are cover images that appear on the staff side but there is not one available for the OPAC you have to turn both system preference on.
Comment 2 NoƩmie Labine 2023-10-06 17:31:58 UTC
This also doesn't make sense if a library uses Local Cover Images as a CoceProviders option. If Coce is enabled and the provider Local Cover Images is used, LocalCoverImages still have to be set to Display if they want to add or edit an image in a record...

I have a hard time understanding the benefit to hide the options related to the images...

I believe the simplest way to correct that would be to just have the images options always visible in a bib details... Otherwise, we would need to change the behavior to hide the options only if LocalCoverImages, OPACLocalCoverImages AND Local Cover Images in CoceProviders (if Coce is used for OPAC or staff interface) are all disabled.