We were hard coding a height, width which would squish non-book
images out of aspect. This hard codes only the height of the image
to make jacket images display in their natural aspect.
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
PROCESS get_marc_attrs args=rec_attrs;
ident = rec_attrs.isbn_clean || rec_attrs.upc;
IF ident %]
- <a href="[% mkurl(ctx.opac_root _ '/record/' _ cn.record.id, {$loc_name => loc_value}, 1) %]"><img height='60' width='50'
+ <a href="[% mkurl(ctx.opac_root _ '/record/' _ cn.record.id, {$loc_name => loc_value}, 1) %]"><img height='60'
class='cn_browse_info' name='cn_browse_pic' border='0'
src="[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident | uri %]" /></a>
[% END %]