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 ) %]
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 class="main container-fluid">
46 <div class="col-sm-10 col-sm-push-2">
49 [% INCLUDE 'cat-toolbar.inc' %]
51 <h3>Images for <i>[% biblio.title | html %]</i></h3>
52 <h4>[% biblio.author | html %]</h4>
54 [% IF ( LocalCoverImages == 1 ) %]
55 [% IF ( images.size > 0 ) %]
57 <div class="col-md-8">
59 <img id="largeCoverImg" alt="" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% imagenumber | html %]" />
62 <div class="col-md-4"><div id="thumbnails">
64 [% FOREACH img IN images %]
66 <a class="show_cover" data-coverimg="[% img | html %]" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber | html %]&imagenumber=[% img | html %]">
67 [% IF ( imagenumber == img ) %]
68 <img class="thumbnail selected" id="[% img | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img | html %]&thumbnail=1" alt="Thumbnail" />
70 <img class="thumbnail" id="[% img | html %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img | html %]&thumbnail=1" alt="Thumbnail" />
78 <div class="dialog message">There are no images for this record.</div>
81 <div class="dialog message">Local images have not been enabled by your system administrator.</div>
85 </div> <!-- /.col-sm-10.col-sm-push-2 -->
87 <div class="col-sm-2 col-sm-pull-10">
89 [% INCLUDE 'biblio-view-menu.inc' %]
91 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
94 [% MACRO jsinclude BLOCK %]
95 [% INCLUDE 'catalog-strings.inc' %]
96 [% Asset.js("js/catalog.js") | $raw %]
98 $(document).ready(function(){
99 showCover([% imagenumber | html %]);
100 $(".show_cover").on("click",function(e){
102 var coverimg = $(this).data("coverimg");
107 function showCover(img) {
108 $('.thumbnail').attr('class', 'thumbnail');
109 $('#largeCoverImg').attr('src', '/cgi-bin/koha/catalogue/image.pl?imagenumber=' + img);
110 $('#' + img + '.thumbnail').attr('class', 'thumbnail selected');
115 [% INCLUDE 'intranet-bottom.inc' %]