4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Catalog › Details for [% biblio.title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% IF ( LocalCoverImages == 1 ) %]
8 <style type="text/css">
10 border : 1px solid #CCCCCC;
19 border : 1px solid #0000CC;
28 #thumbnails a img.selected {
32 filter:alpha(opacity=40); /* For IE8 and earlier */
37 <body id="catalog_imageviewer" class="catalog">
39 [% INCLUDE 'header.inc' %]
40 [% INCLUDE 'cat-search.inc' %]
42 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Images for <i>[% biblio.title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i></div>
44 <div id="doc3" class="yui-t1">
51 [% INCLUDE 'cat-toolbar.inc' %]
53 <h3>Images for <i>[% biblio.title | html %]</i></h3>
54 <h4>[% biblio.author | html %]</h4>
56 [% IF ( LocalCoverImages == 1 ) %]
57 [% IF ( images.size > 0 ) %]
58 <div class="yui-u first">
60 <img id="largeCoverImg" alt="" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% imagenumber | html %]" />
63 <div class="yui-u"><div id="thumbnails">
65 [% FOREACH img IN images %]
67 <a class="show_cover" data-coverimg="[% img | html %]" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber | html %]&imagenumber=[% img | html %]">
68 [% IF ( imagenumber == img ) %]
69 <img class="thumbnail selected" id="[% img | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img | html %]&thumbnail=1" alt="Thumbnail" />
71 <img class="thumbnail" id="[% img | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img | html %]&thumbnail=1" alt="Thumbnail" />
79 <div class="dialog message">There are no images for this record.</div>
82 <div class="dialog message">Local images have not been enabled by your system administrator.</div>
89 [% INCLUDE 'biblio-view-menu.inc' %]
93 [% MACRO jsinclude BLOCK %]
94 [% INCLUDE 'catalog-strings.inc' %]
95 [% Asset.js("js/catalog.js") | $raw %]
96 <script type="text/javascript">
97 $(document).ready(function(){
98 showCover([% imagenumber | html %]);
99 $(".show_cover").on("click",function(e){
101 var coverimg = $(this).data("coverimg");
106 function showCover(img) {
107 $('.thumbnail').attr('class', 'thumbnail');
108 $('#largeCoverImg').attr('src', '/cgi-bin/koha/catalogue/image.pl?imagenumber=' + img);
109 $('#' + img + '.thumbnail').attr('class', 'thumbnail selected');
114 [% INCLUDE 'intranet-bottom.inc' %]