Bug 34811

Summary: Old image viewer not accessible in OPAC
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: 22.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2023-09-17 14:28:28 UTC
Also found following the test plan from bug 34724: There is no link to the image viewer present on the OPAC detail page. If any of the local covers is clicked from the images tab, the preview/thumbnails of the other images are missing on the right side.

Test plan:
0. Apply the patch (including dependent patches)
1. Go to
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=localcover
2. Change both *LocalCoverImages sysprefs to "Show"
3. Go to
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=AllowMultipleCovers
4. Change "AllowMultipleCovers" to "Allow"
5. Go to
http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=29
6. Click "Images (0)" tab
7. Download or make two JPEG images
8. Upload the images
9. Go to http://localhost:8080/cgi-bin/koha/opac-imageviewer.pl?biblionumber=29
10. See one large image in the centre and two smaller thumbnails on the right side

The link from the iamges tab for a single cover is:
http://localhost:8080/cgi-bin/koha/opac-imageviewer.pl?biblionumber=29&imagenumber=2

The preview is missing.
Comment 1 Owen Leonard 2024-06-06 12:35:46 UTC
Do we need the images tab and the image viewer page anymore? Couldn't we get rid of it?