Show custom image links and thumbnails noble_embedded_images
authorMike Rylander <mrylander@gmail.com>
Fri, 9 Aug 2013 14:33:03 +0000 (10:33 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 16 Aug 2013 18:09:08 +0000 (14:09 -0400)
commitcf891f66a40823b1785de990d345d9b5a2c9988a
tree6dcaca4267a0f5baa803bd50b35d2e2ce89f6c38
parent953cd16194b454199b3029ac00e83287d533546b
Show custom image links and thumbnails

This allows cataloging of custom electronic resources in the 956 with the
following layout:

  $c => Optional caption string
  $t => Optional thumbnail image URL
  $u => Target URL

If a thumbnail image URL is not supplied, and the target URL is determined
to be an image, based on the filename extension, then the target URL will
be used for the thumbnail image source.  CSS classes stored in style_custom.css
is be used to control the size of the images when displayed on-page.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/web/css/skin/default/opac/style_custom.css [new file with mode: 0644]