Bug 34811 - Old image viewer not accessible in OPAC
Summary: Old image viewer not accessible in OPAC
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: 22.11
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-17 14:28 UTC by Katrin Fischer
Modified: 2024-06-06 12:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?