[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
Thu May 23 04:40:12 CEST 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85925|0                           |1
        is obsolete|                            |
  Attachment #85926|0                           |1
        is obsolete|                            |
  Attachment #85927|0                           |1
        is obsolete|                            |
  Attachment #85928|0                           |1
        is obsolete|                            |
  Attachment #85929|0                           |1
        is obsolete|                            |
  Attachment #85930|0                           |1
        is obsolete|                            |
  Attachment #85931|0                           |1
        is obsolete|                            |
  Attachment #85932|0                           |1
        is obsolete|                            |
  Attachment #85933|0                           |1
        is obsolete|                            |
  Attachment #85934|0                           |1
        is obsolete|                            |
  Attachment #85935|0                           |1
        is obsolete|                            |
  Attachment #85936|0                           |1
        is obsolete|                            |
  Attachment #85937|0                           |1
        is obsolete|                            |
  Attachment #86214|0                           |1
        is obsolete|                            |
  Attachment #86726|0                           |1
        is obsolete|                            |
  Attachment #86727|0                           |1
        is obsolete|                            |
  Attachment #87434|0                           |1
        is obsolete|                            |

--- Comment #34 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 89973
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89973&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

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

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


More information about the Koha-bugs mailing list