[Koha-bugs] [Bug 22445] Ability to define a URL for custom cover images

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 22 15:59:42 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22445

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94227|0                           |1
        is obsolete|                            |

--- Comment #99 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 94559
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94559&action=edit
Bug 22445: Add new prefs *CustomCoverImages*

This patch set adds a new method to display cover images for
bibliographic records.
The idea is to provide a flexible way allowing several use cases:
- local path
- remote url
- webservice
which would follow a given pattern.

So far only the following patterns are available:
- {isbn} will be replaced byt the isbn of the record
- {issn}
- using MARC subfields:
  {024$a} to replace with the value in 024$a
(Note that the selector has been changed from %% to {} in a coming
patch)

For example
- /your/local/images/{isbn}.png
- https://covers.openlibrary.org/b/isbn/{isbn}-M.jpb
- etc.

There are 3 new sysprefs:
CustomCoverImagesURL
=> Define the path/url
CustomCoverImages
=> Turn on/off the display of the custom cover image in the staff client
OPACCustomCoverImages
=> Turn on/off the display of the custom cover image at the OPAC

Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list