From d8fc5867c2a98e803a12fff62fa78e5c858ac387 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 18 Aug 2015 22:05:05 +0200 Subject: Colorbox: Display number of images Signed-off-by: Florian Pritz --- public_html/data/css/colorbox.css | 4 ++-- public_html/data/js/thumbnail-view.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public_html/data/css/colorbox.css b/public_html/data/css/colorbox.css index 1e1238dd5..a647f73b6 100644 --- a/public_html/data/css/colorbox.css +++ b/public_html/data/css/colorbox.css @@ -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;}*/ diff --git a/public_html/data/js/thumbnail-view.js b/public_html/data/js/thumbnail-view.js index f453f4c1c..613e27b80 100644 --- a/public_html/data/js/thumbnail-view.js +++ b/public_html/data/js/thumbnail-view.js @@ -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: '', previous: '', close: '', -- cgit v1.2.3-24-g4f1b