Bug 40821 - Cover image column width in OPAC search results varies
Summary: Cover image column width in OPAC search results varies
Status: CONFIRMED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-16 18:32 UTC by Caroline Cyr La Rose
Modified: 2025-09-18 15:45 UTC (History)
3 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Search for "garden" in KTD OPAC (215.71 KB, image/png)
2025-09-17 13:11 UTC, Caroline Cyr La Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2025-09-16 18:32:43 UTC
When the results have short titles (e.g. a search for "garden" in ktd) the image column is really wide. When the results have longer titles, the image column is narrower.

Note: the cover image used to be on the right, and didn't really change position depending on the size of the title.

To recreate:
1. Enable OPACAmazonCoverImages
2. Go to the OPAC and search for various terms
   - search term "garden": the titles are short, the image column is really wide
   - search term "poetry" : on long title, the image column is a nice size (same margin on each side of the image)
   - search term "design" : some of the titles are really long, the image column is very narrow (not the same margin on each side of the image)
Comment 1 Caroline Cyr La Rose 2025-09-17 13:11:04 UTC
Created attachment 186534 [details]
Search for "garden" in KTD OPAC
Comment 2 David Nind 2025-09-18 15:11:23 UTC
Confirmed that this is happening.

Tested on main and 25.05.x.
Comment 3 David Nind 2025-09-18 15:45:08 UTC
Additional testing:
- 24.05: does not happen for 24.05 - images in the OPAC are on the right-hand side.
- 24.11: confirmed, images are now on the left-hand side and are larger (more readable) than 24.05