[Koha-bugs] [Bug 34314] New: CustomCoverImagesURL doesn't work if there are more than one placeholder
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 19 23:02:23 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34314
Bug ID: 34314
Summary: CustomCoverImagesURL doesn't work if there are more
than one placeholder
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: System Administration
Assignee: koha-bugs at lists.koha-community.org
Reporter: caroline.cyr-la-rose at inlibro.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
Created attachment 153692
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153692&action=edit
A MARC21 record for a Project Gutenberg title
I was trying to test CustomCoverImages with images from Project Gutenberg and
leslibraires.ca, and I can't seem to make it work. I'm wondering if it's
because in those two cases, the URL must have two placeholders.
I added a Project Gutenberg MARC21 record to test.
It's specific image is
https://www.gutenberg.org/cache/epub/1736/pg1736.cover.medium.jpg
The 1736 is the PG number, which is in 001.
For leslibraires.ca, it's a similar situation, where the URL contains the ISBN
twice.
To test:
1. Import the attached record
1.1. Download the record
1.2. In the staff interface, go to Cataloging > Stage records for import
1.3. Choose the file
1.4. Click Upload file
1.5. Click Stage for import
1.6. (Wait until the job is done)
1.7. Click View batch
1.8. Click Import this batch into the catalog
1.9. (Wait until the job is done)
2. Set up CustomCoverImages
2.1. Go to Administration > System preferences
2.2. Search for CustomCoverImages
2.3. Set up the prefs as follows
- CustomCoverImages : Show
- OPACCustomCoverImages : Show
- CustomCoverImagesURL :
https://www.gutenberg.org/cache/epub/{001}/pg{001}.cover.medium.jpg
2.4. Click Save all enhanced content preferences
3. View the record in the staff interface
3.1. Search the catalog for Shakespeare or Lord Cromwell
--> No cover image
4. View the record in the OPAC
4.1. Click on OPAC view: Open in new window.
--> No image
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list