[Koha-bugs] [Bug 32642] New: Loading spinner always visible when cover image is short (OPAC)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 16 16:45:55 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32642

            Bug ID: 32642
           Summary: Loading spinner always visible when cover image is
                    short (OPAC)
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

Same as bug 28314, but for the OPAC

We noticed that if the cover image is somewhat short (i.e. the height is under
80-90 px), the loading spinner indicating that the image is currently loading
still appears after the image is loaded.

The spinner should be hidden when the image is loaded, regardless of the image
size.

To test:
1. Make sure the OPACLocalCoverImages system preference is enabled
   1.1. Go to Administration > Global system preferences
   1.2. Search for Coverimages
   1.3. Set OPACLocalCoverImages to 'Show'
   1.4. Click 'Save all Enhanced content preferences'
2. Add a short local cover image to a record (I added one which is just a grey
rectangle with the size printed on it, to facilitate the test)
   2.1. Download the attached image
   2.2. Find a record without an image
   2.3. Click the 'Images' tab
   2.4. Click 'Upload'
   2.5. Click 'Drop files here or click to select a file' and choose the
downloaded image
   2.6. Click 'Process images'
3. View the record in the OPAC 
   3.1. From the image upload page, click on the title of the record in the
page heading to access the detailed record in the staff interface
   3.2. Click on 'OPAC view: Open in new window.'
   --> Note that the image is displayed normally, but the spinner is also
displayed

In the OPAC, the problem is only on the detailed record page. The search
results are OK.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list