[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 10:24:50 CEST 2019


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

Michal Denar <black23 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #89973|0                           |1
        is obsolete|                            |
  Attachment #89974|0                           |1
        is obsolete|                            |
  Attachment #89975|0                           |1
        is obsolete|                            |
  Attachment #89976|0                           |1
        is obsolete|                            |
  Attachment #89977|0                           |1
        is obsolete|                            |
  Attachment #89978|0                           |1
        is obsolete|                            |
  Attachment #89979|0                           |1
        is obsolete|                            |
  Attachment #89980|0                           |1
        is obsolete|                            |
  Attachment #89981|0                           |1
        is obsolete|                            |
  Attachment #89982|0                           |1
        is obsolete|                            |
  Attachment #89983|0                           |1
        is obsolete|                            |
  Attachment #89984|0                           |1
        is obsolete|                            |
  Attachment #89985|0                           |1
        is obsolete|                            |
  Attachment #89986|0                           |1
        is obsolete|                            |
  Attachment #89987|0                           |1
        is obsolete|                            |
  Attachment #89988|0                           |1
        is obsolete|                            |
  Attachment #89989|0                           |1
        is obsolete|                            |

--- Comment #51 from Michal Denar <black23 at gmail.com> ---
Created attachment 89996
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89996&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

Signed-off-by: Michal Denar <black23 at gmail.com>

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


More information about the Koha-bugs mailing list