Commit d8fc5867 authored by Florian Pritz's avatar Florian Pritz
Browse files

Colorbox: Display number of images


Signed-off-by: default avatarFlorian Pritz <bluewind@xinu.at>
parent f88977cf
......@@ -29,8 +29,8 @@
.cboxPhoto{float:left !important; background: #fff;}
#cboxLoadingGraphic{background:url(/data/img/colorbox/loading.gif) no-repeat center center;}
#cboxLoadingOverlay{background:#000;}
#cboxTitle{position:fixed; top:0; right:66px; color:#fff;}
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px; display: none;}
#cboxTitle{position:fixed; top:0; left:6px; color:#fff;}
#cboxCurrent{position:fixed; top:0; right:66px; display: none; color:#fff;}
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
/*#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(/data/img/colorbox/controls.png) no-repeat 0 0;}*/
......
......@@ -30,7 +30,7 @@ define(['jquery', 'underscore', 'jquery.colorbox'], function ($, _) {
retinaImage: true,
maxHeight: "100%",
maxWidth: "100%",
title: 'Use h/l or right/left arrow keys or these buttons:',
current: 'Image {current} of {total}. Use h/l or right/left arrow keys or these buttons:',
next: '<span class="glyphicon glyphicon-chevron-right"></span>',
previous: '<span class="glyphicon glyphicon-chevron-left"></span>',
close: '<span class="glyphicon glyphicon-remove"></span>',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment