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
Assignee: Hammat wele
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-22 21:49 UTC by Matthias Le Gac
Modified: 2025-04-22 15:32 UTC (History)
8 users (show)

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


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
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface (5.42 KB, patch)
2024-06-26 15:07 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Display images coming from plugin (11.83 KB, patch)
2024-06-26 15:07 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins (889 bytes, patch)
2024-07-12 21:43 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface (5.42 KB, patch)
2024-08-13 20:11 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Display images coming from plugin (11.96 KB, patch)
2024-08-13 20:11 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins (889 bytes, patch)
2024-08-13 20:11 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface (5.42 KB, patch)
2024-10-28 20:45 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Display images coming from plugin (12.01 KB, patch)
2024-10-28 20:45 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins (943 bytes, patch)
2024-10-28 20:45 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface (5.42 KB, patch)
2024-12-16 12:56 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Display images coming from plugin (12.25 KB, patch)
2024-12-16 12:56 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins (943 bytes, patch)
2024-12-16 12:56 UTC, Hammat wele
Details | Diff | Splinter Review
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface (4.95 KB, patch)
2025-03-28 20:43 UTC, Shi Yao Wang
Details | Diff | Splinter Review
Bug 36154: Display images coming from plugin (10.38 KB, patch)
2025-03-28 20:43 UTC, Shi Yao Wang
Details | Diff | Splinter Review
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins (943 bytes, patch)
2025-03-28 20:43 UTC, Shi Yao Wang
Details | Diff | Splinter Review
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface (4.95 KB, patch)
2025-04-22 15:31 UTC, Shi Yao Wang
Details | Diff | Splinter Review
Bug 36154: Display images coming from plugin (10.39 KB, patch)
2025-04-22 15:31 UTC, Shi Yao Wang
Details | Diff | Splinter Review
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins (943 bytes, patch)
2025-04-22 15:31 UTC, Shi Yao Wang
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.
Comment 4 Hammat wele 2024-06-26 15:07:01 UTC
Created attachment 168157 [details] [review]
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface

To test

1. Log in to the staff interface
2. Make sure the system preference LocalCoverImages has «Show» value
3. Create a new list
   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»
9. Put the system preference LocalCoverImages to «Don't show» and CustomCoverImages to « Show » and add an image url to CustomCoverImagesURL (https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/481px-Cat03.jpg)
10. Check the list again
----> the image in CustomCoverImagesURL is display in the column named «Cover»
Comment 5 Hammat wele 2024-06-26 15:07:05 UTC
Created attachment 168158 [details] [review]
Bug 36154: Display images coming from plugin

this patch makes the summary page(opac-user), the list pages (opac-shelves.pl, shelves.pl), the Checkout history page (opac-readingrecord.pl) and shelfbrowser to be able to display images coming from plugin.
Comment 6 Hammat wele 2024-07-12 21:43:23 UTC
Created attachment 168925 [details] [review]
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins
Comment 7 Hammat wele 2024-08-13 20:11:41 UTC
Created attachment 170295 [details] [review]
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface

To test

1. Log in to the staff interface
2. Make sure the system preference LocalCoverImages has «Show» value
3. Create a new list
   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»
9. Put the system preference LocalCoverImages to «Don't show» and CustomCoverImages to « Show » and add an image url to CustomCoverImagesURL (https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/481px-Cat03.jpg)
10. Check the list again
----> the image in CustomCoverImagesURL is display in the column named «Cover»
Comment 8 Hammat wele 2024-08-13 20:11:45 UTC
Created attachment 170296 [details] [review]
Bug 36154: Display images coming from plugin

this patch makes the summary page(opac-user), the list pages (opac-shelves.pl, shelves.pl), the Checkout history page (opac-readingrecord.pl) and shelfbrowser to be able to display images coming from plugin.
Comment 9 Hammat wele 2024-08-13 20:11:49 UTC
Created attachment 170297 [details] [review]
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins
Comment 10 Hammat wele 2024-10-28 20:45:04 UTC
Created attachment 173593 [details] [review]
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface

To test

1. Log in to the staff interface
2. Make sure the system preference LocalCoverImages has «Show» value
3. Create a new list
   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»
9. Put the system preference LocalCoverImages to «Don't show» and CustomCoverImages to « Show » and add an image url to CustomCoverImagesURL (https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/481px-Cat03.jpg)
10. Check the list again
----> the image in CustomCoverImagesURL is display in the column named «Cover»

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 11 Hammat wele 2024-10-28 20:45:07 UTC
Created attachment 173594 [details] [review]
Bug 36154: Display images coming from plugin

this patch makes the summary page(opac-user), the list pages (opac-shelves.pl, shelves.pl), the Checkout history page (opac-readingrecord.pl) and shelfbrowser to be able to display images coming from plugin.

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 12 Hammat wele 2024-10-28 20:45:12 UTC
Created attachment 173595 [details] [review]
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 13 Hammat wele 2024-12-16 12:56:05 UTC
Created attachment 175490 [details] [review]
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface

To test

1. Log in to the staff interface
2. Make sure the system preference LocalCoverImages has «Show» value
3. Create a new list
   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»
9. Put the system preference LocalCoverImages to «Don't show» and CustomCoverImages to « Show » and add an image url to CustomCoverImagesURL (https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/481px-Cat03.jpg)
10. Check the list again
----> the image in CustomCoverImagesURL is display in the column named «Cover»

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 14 Hammat wele 2024-12-16 12:56:09 UTC
Created attachment 175491 [details] [review]
Bug 36154: Display images coming from plugin

this patch makes the summary page(opac-user), the list pages (opac-shelves.pl, shelves.pl), the Checkout history page (opac-readingrecord.pl) and shelfbrowser to be able to display images coming from plugin.

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 15 Hammat wele 2024-12-16 12:56:12 UTC
Created attachment 175492 [details] [review]
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 16 Shi Yao Wang 2025-03-28 20:43:35 UTC
Created attachment 179892 [details] [review]
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface

To test

1. Log in to the staff interface
2. Make sure the system preference LocalCoverImages has «Show» value
3. Create a new list
   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»
9. Put the system preference LocalCoverImages to «Don't show» and CustomCoverImages to « Show » and add an image url to CustomCoverImagesURL (https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/481px-Cat03.jpg)
10. Check the list again
----> the image in CustomCoverImagesURL is display in the column named «Cover»

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 17 Shi Yao Wang 2025-03-28 20:43:39 UTC
Created attachment 179893 [details] [review]
Bug 36154: Display images coming from plugin

this patch makes the summary page(opac-user), the list pages (opac-shelves.pl, shelves.pl), the Checkout history page (opac-readingrecord.pl) and shelfbrowser to be able to display images coming from plugin.

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 18 Shi Yao Wang 2025-03-28 20:43:41 UTC
Created attachment 179894 [details] [review]
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 19 Shi Yao Wang 2025-04-22 15:31:23 UTC
Created attachment 181290 [details] [review]
Bug 36154: Showing LocalCoverImages and CustomCoverImages in the list page in staff interface

To test

1. Log in to the staff interface
2. Make sure the system preference LocalCoverImages has «Show» value
3. Create a new list
   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»
9. Put the system preference LocalCoverImages to «Don't show» and CustomCoverImages to « Show » and add an image url to CustomCoverImagesURL (https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/481px-Cat03.jpg)
10. Check the list again
----> the image in CustomCoverImagesURL is display in the column named «Cover»

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 20 Shi Yao Wang 2025-04-22 15:31:26 UTC
Created attachment 181291 [details] [review]
Bug 36154: Display images coming from plugin

this patch makes the summary page(opac-user), the list pages (opac-shelves.pl, shelves.pl), the Checkout history page (opac-readingrecord.pl) and shelfbrowser to be able to display images coming from plugin.

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 21 Shi Yao Wang 2025-04-22 15:31:29 UTC
Created attachment 181292 [details] [review]
Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins

https://bugs.koha-community.org/show_bug.cgi?id=37916
Comment 22 Shi Yao Wang 2025-04-22 15:32:19 UTC
rebased