]> git.koha-community.org Git - koha.git/commit
Bug 13227: Display856uAsImage displays images in OPAC in original size
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 9 Nov 2014 21:35:14 +0000 (22:35 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 16 Nov 2014 15:12:48 +0000 (12:12 -0300)
commit81e4aebd0ad488ca14c94d9b087bb183c192deec
tree173f8d8780229451a38ad08f9bea6b6742204a0f
parent348bca3dbb200627b3f3fd3ae9aae2d012892ecd
Bug 13227: Display856uAsImage displays images in OPAC in original size

To test:
- catalog a record with 856$u = URL to an image, $q = img
- turn on the system preference Display856uAsImage
- make sure your record has been reindexed by Zebra
- verifiy the image indeed displays on the result and detail page
  in the bootstrap catalog.

The image shows in the original size, from the code it's meant
to display with a height of 100 px, but this won't work in bootstrap
as the height is set to auto with CSS.

Patch changes the XSLT to restore the former behaviour.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl