Bug 36154 - Add the ability for some pages to be able to use images coming from plugin
Summary: Add the ability for some pages to be able to use images coming from plugin
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Lists (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Hammat wele
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-22 21:49 UTC by Matthias Le Gac
Modified: 2024-03-26 16:02 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 36154: Add the ability for some pages to be able to use images comming from plugin (17.35 KB, patch)
2024-03-22 21:50 UTC, Hammat wele
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Le Gac 2024-02-22 21:49:52 UTC Comment hidden (obsolete)
Comment 1 Hammat wele 2024-03-22 21:36:44 UTC
The patch adds images in the list page in staff interface and make the summary page(opac-user), the list pages (opac-shelves.pl, shelves.pl) and the Checkout history page (opac-readingrecord.pl) to be able to display images comming from plugin.
Comment 2 Hammat wele 2024-03-22 21:50:16 UTC
Created attachment 163744 [details] [review]
Bug 36154: Add the ability for some pages to be able to use images comming from plugin

The patch adds images in the list page in staff interface and make the summary page(opac-user), the list pages (opac-shelves.pl, shelves.pl) and the Checkout history page (opac-readingrecord.pl) to be able to display images comming from plugin.

To test

1. Log in to the staff interface
2. Make sure the system preference LocalCoverImages has «Show» value
3. Create a nwalist
   4.1. Click on «More» menu then click on «List» and click on «New List»
4. Search for a record and add a local image to it
5. Add the record to the list created on step 4.1
6. Check the list
  ----> The image is not displayed
7. Apply the patch
8. Check the list again
  ----> the image is now display in a new column named «Cover»
Comment 3 Esther Melander 2024-03-26 16:02:49 UTC
I tested this. I added some local cover images to a few items in a list. I could see the Cover column for the list, but not the local images. I checked the Opac and did not see any local cover images. I turned on the system preference OPACLocalCoverImages to see the images in the OPAC and they did not show in the Patron Summary, Patron Checkout History, or in the public list. There was no separate column for the Cover image in the Patron Summary or Checkout History.

I then turned on:

AmazonCoverImages
OPACAmazonCoverImages

This then displayed  Amazon cover images and my local cover images in the OPAC. The cover images still did not show in the staff interface list.