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">
7 $(document).ready(function(){
8 $("#largeCoverImg").attr("src","/opac-tmpl/prog/images/loading.gif");
9 showCover([% imagenumber %]);
12 function showCover(img) {
13 $('.thumbnail').attr('class', 'thumbnail');
14 $('#largeCoverImg').attr('src', '/cgi-bin/koha/opac-image.pl?imagenumber=' + img);
15 $('#' + img + '.thumbnail').attr('class', 'thumbnail selected');
19 <style type="text/css">
21 border : 1px solid #CCCCCC;
30 border : 2px solid #8EB3E7;
38 #thumbnails a img.selected {
42 filter:alpha(opacity=40); /* For IE8 and earlier */
46 <body id="opac-imageviewer">
47 [% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
49 [% INCLUDE 'masthead.inc' %]
53 <div class="container">
54 <h1 class="title">Images for [% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber |url %]" title="View details for this title">
56 [% IF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber |url %]" title="View details for this title">
57 [% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber |url %]" title="View details for this title">
59 [% END %][% biblio.title %]</a> [% biblio.author %]</h1>
60 <div class="yui-u first">
62 <div id="largeCover"><img id="largeCoverImg" alt="" src="/cgi-bin/koha/opac-image.pl?imagenumber=[% imagenumber %]" /></div></div>
64 [% IF OPACLocalCoverImages == 1 %]
65 <div class="yui-u"><div id="thumbnails">
66 [% FOREACH img IN images %]
68 <a href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% img %]" onclick="showCover([% img %]); return false;">
69 [% IF ( imagenumber == img ) %]<img class="thumbnail selected" id="[% img %]" src="/cgi-bin/koha/opac-image.pl?imagenumber=[% img %]&thumbnail=1" alt="Thumbnail"/>
71 <img class="thumbnail" id="[% img %]" src="/cgi-bin/koha/opac-image.pl?imagenumber=[% img %]&thumbnail=1" alt="Thumbnail"/>
79 Unfortunately, images are not enabled for this catalog at this time.
86 <div class="yui-b"><div id="leftmenus" class="container">
87 [% INCLUDE 'navigation.inc' %]
91 [% INCLUDE 'opac-bottom.inc' %]