1 [% INCLUDE 'doc-head-open.inc' %]
2 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Images for: [% biblio.title |html %]
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/JavaScript" language="JavaScript">
7 $(document).ready(function(){
8 showCover($('.thumbnail').attr('id'));
11 function showCover(img) {
12 $('.thumbnail').attr('class', 'thumbnail');
13 $('#largeCoverImg').attr('src', '/cgi-bin/koha/opac-image.pl?imagenumber=' + img);
14 $('#' + img + '.thumbnail').attr('class', 'thumbnail selected');
18 <style type="text/css">
29 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
30 <body id="opac-imageviewer">
31 <div id="largeCover"><img id="largeCoverImg" alt="Large view" /></div>
32 [% IF OPACLocalCoverImages == 1 %]
33 [% FOREACH img IN images %]
35 <a href='#' onclick='showCover([% img %])'><img class='thumbnail' id='[% img %]' src='/cgi-bin/koha/opac-image.pl?imagenumber=[% img %]&thumbnail=1' alt='Image'/></a>
38 [% biblio.title %] [% biblio.author %]
40 Unfortunately, images are not enabled for this catalog at this time.