[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
Wed Oct 16 09:16:53 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 #89996|0 |1
is obsolete| |
Attachment #89997|0 |1
is obsolete| |
Attachment #89998|0 |1
is obsolete| |
Attachment #89999|0 |1
is obsolete| |
Attachment #90000|0 |1
is obsolete| |
Attachment #90001|0 |1
is obsolete| |
Attachment #90002|0 |1
is obsolete| |
Attachment #90003|0 |1
is obsolete| |
Attachment #90004|0 |1
is obsolete| |
Attachment #90005|0 |1
is obsolete| |
Attachment #90006|0 |1
is obsolete| |
Attachment #90007|0 |1
is obsolete| |
Attachment #90009|0 |1
is obsolete| |
Attachment #90010|0 |1
is obsolete| |
Attachment #90011|0 |1
is obsolete| |
Attachment #90012|0 |1
is obsolete| |
Attachment #90013|0 |1
is obsolete| |
--- Comment #80 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 94227
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94227&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: Michal Denar <black23 at gmail.com>
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