Bug 40638

Summary: Cover images should not remove the container when an image is not found on the results page
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
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 Lucas Gass (lukeg) 2025-08-12 15:52:17 UTC
If you look at pages/results.js the cover images container is removed when no image is loaded:

103             } else {
104                 blanks.push(coverId);
105                 div.remove();
106             } /* /IF there is an image tag */
107             /* console.log( coverImages ); */


If you are on a slower connection this can remove the entire container before the image has gotten a chance to load. 


This is mostly a problem with results pages where many images are trying to load.