[Koha-bugs] [Bug 5738] Display the URI in 856u as an Image

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 11 22:45:42 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5738

--- Comment #5 from Doug Dearden <dearden at sarsf.org> 2011-02-11 21:45:41 UTC ---
I've been working on this today, and have added code to check the 856q field
for any of the MIME image extensions.  A rather long "or" string, the only
alternative I could think of being another "choose" list which didn't seem much
better.  I also moved some things around to make it a little cleaner, and
changed it so if an image is displayed no link text is displayed, including the
custom text in the system preferences.  So far I have only worked on the OPAC
side of things, but can add the code to the staff client side once things are
settled out.  Also I've done the MARC21 version of Display and Results, but
will add the feature into the unicode versions also.

Ian - I've got 1 and 2 in your list working, but have no idea how to implement
"3. show image in AJAXy lightbox kinda deal on click" :)  There isn't much lag
around clicking on the image though.  Where I saw performance issues was
loading the Results page when I got 75+ hits with multiple images attached to
each one.  Also I should mention that my test machine for this is an old 486,
so this may not be much of an issue with some good hardware.

If you want to add the AJAXy lightbox let me know.  If you can work up the
script you mentioned that would populate the 856q subfield based on the
contents of the 856u subfield that would be great too.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list