Summary: | Display856uAsImage displays images in OPAC in original size | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | OPAC | Assignee: | Katrin Fischer <katrin.fischer> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | martin.renvoize, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 13227: Display856uAsImage displays images in OPAC in original size
Bug 13227: Display856uAsImage displays images in OPAC in original size [Passed QA] Bug 13227: Display856uAsImage displays images in OPAC in original size |
Description
Katrin Fischer
2014-11-09 21:34:13 UTC
Created attachment 33396 [details] [review] 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. Created attachment 33403 [details] [review] 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> Created attachment 33470 [details] [review] [Passed QA] 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> Passes all my tests and qa script. Passing QA Patch pushed to master. Thanks Katrin! |