Lightbox Gallery - Version 0.7

Version Description

  • The default view changed to Colorbox.
  • Slovak (sk_SK) - Viliam Brozman
Download this release

Release Info

Developer Hiroaki Miyashita
Plugin Icon wp plugin Lightbox Gallery
Version 0.7
Comparing to
See all releases

Code changes from version 0.6.8 to 0.7

graphics/Thumbs.db ADDED
Binary file
graphics/close.png ADDED
Binary file
graphics/closeX.png ADDED
Binary file
graphics/controlbar-black-border.gif ADDED
Binary file
graphics/controlbar-text-buttons.png ADDED
Binary file
graphics/controlbar-white-small.gif ADDED
Binary file
graphics/controlbar-white.gif ADDED
Binary file
graphics/controlbar2.gif ADDED
Binary file
graphics/controlbar3.gif ADDED
Binary file
graphics/controlbar4-hover.gif ADDED
Binary file
graphics/controlbar4.gif ADDED
Binary file
graphics/fullexpand.gif ADDED
Binary file
graphics/geckodimmer.png ADDED
Binary file
graphics/icon.gif ADDED
Binary file
graphics/loader.gif ADDED
Binary file
graphics/loader.white.gif ADDED
Binary file
graphics/outlines/Outlines.psd ADDED
Binary file
graphics/outlines/Thumbs.db ADDED
Binary file
graphics/outlines/beveled.png ADDED
Binary file
graphics/outlines/drop-shadow.png ADDED
Binary file
graphics/outlines/glossy-dark.png ADDED
Binary file
graphics/outlines/outer-glow.png ADDED
Binary file
graphics/outlines/rounded-black.png ADDED
Binary file
graphics/outlines/rounded-white.png ADDED
Binary file
graphics/resize.gif ADDED
Binary file
graphics/scrollarrows.png ADDED
Binary file
graphics/zoomin.cur ADDED
Binary file
graphics/zoomout.cur ADDED
Binary file
js/jquery.colorbox.js ADDED
@@ -0,0 +1,888 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // ColorBox v1.3.19 - jQuery lightbox plugin
2
+ // (c) 2011 Jack Moore - jacklmoore.com
3
+ // License: http://www.opensource.org/licenses/mit-license.php
4
+ (function ($, document, window) {
5
+ var
6
+ // Default settings object.
7
+ // See http://jacklmoore.com/colorbox for details.
8
+ defaults = {
9
+ transition: "elastic",
10
+ speed: 300,
11
+ width: false,
12
+ initialWidth: "600",
13
+ innerWidth: false,
14
+ maxWidth: false,
15
+ height: false,
16
+ initialHeight: "450",
17
+ innerHeight: false,
18
+ maxHeight: false,
19
+ scalePhotos: true,
20
+ scrolling: true,
21
+ inline: false,
22
+ html: false,
23
+ iframe: false,
24
+ fastIframe: true,
25
+ photo: false,
26
+ href: false,
27
+ title: false,
28
+ rel: false,
29
+ opacity: 0.9,
30
+ preloading: true,
31
+ current: "image {current} of {total}",
32
+ previous: "previous",
33
+ next: "next",
34
+ close: "close",
35
+ open: false,
36
+ returnFocus: true,
37
+ reposition: true,
38
+ loop: true,
39
+ slideshow: false,
40
+ slideshowAuto: true,
41
+ slideshowSpeed: 2500,
42
+ slideshowStart: "start slideshow",
43
+ slideshowStop: "stop slideshow",
44
+ onOpen: false,
45
+ onLoad: false,
46
+ onComplete: false,
47
+ onCleanup: false,
48
+ onClosed: false,
49
+ overlayClose: true,
50
+ escKey: true,
51
+ arrowKey: true,
52
+ top: false,
53
+ bottom: false,
54
+ left: false,
55
+ right: false,
56
+ fixed: false,
57
+ data: undefined
58
+ },
59
+
60
+ // Abstracting the HTML and event identifiers for easy rebranding
61
+ colorbox = 'colorbox',
62
+ prefix = 'cbox',
63
+ boxElement = prefix + 'Element',
64
+
65
+ // Events
66
+ event_open = prefix + '_open',
67
+ event_load = prefix + '_load',
68
+ event_complete = prefix + '_complete',
69
+ event_cleanup = prefix + '_cleanup',
70
+ event_closed = prefix + '_closed',
71
+ event_purge = prefix + '_purge',
72
+
73
+ // Special Handling for IE
74
+ isIE = !$.support.opacity && !$.support.style, // IE7 & IE8
75
+ isIE6 = isIE && !window.XMLHttpRequest, // IE6
76
+ event_ie6 = prefix + '_IE6',
77
+
78
+ // Cached jQuery Object Variables
79
+ $overlay,
80
+ $box,
81
+ $wrap,
82
+ $content,
83
+ $topBorder,
84
+ $leftBorder,
85
+ $rightBorder,
86
+ $bottomBorder,
87
+ $related,
88
+ $window,
89
+ $loaded,
90
+ $loadingBay,
91
+ $loadingOverlay,
92
+ $title,
93
+ $current,
94
+ $slideshow,
95
+ $next,
96
+ $prev,
97
+ $close,
98
+ $groupControls,
99
+
100
+ // Variables for cached values or use across multiple functions
101
+ settings,
102
+ interfaceHeight,
103
+ interfaceWidth,
104
+ loadedHeight,
105
+ loadedWidth,
106
+ element,
107
+ index,
108
+ photo,
109
+ open,
110
+ active,
111
+ closing,
112
+ loadingTimer,
113
+ publicMethod,
114
+ div = "div",
115
+ init;
116
+
117
+ // ****************
118
+ // HELPER FUNCTIONS
119
+ // ****************
120
+
121
+ // Convience function for creating new jQuery objects
122
+ function $tag(tag, id, css) {
123
+ var element = document.createElement(tag);
124
+
125
+ if (id) {
126
+ element.id = prefix + id;
127
+ }
128
+
129
+ if (css) {
130
+ element.style.cssText = css;
131
+ }
132
+
133
+ return $(element);
134
+ }
135
+
136
+ // Determine the next and previous members in a group.
137
+ function getIndex(increment) {
138
+ var
139
+ max = $related.length,
140
+ newIndex = (index + increment) % max;
141
+
142
+ return (newIndex < 0) ? max + newIndex : newIndex;
143
+ }
144
+
145
+ // Convert '%' and 'px' values to integers
146
+ function setSize(size, dimension) {
147
+ return Math.round((/%/.test(size) ? ((dimension === 'x' ? $window.width() : $window.height()) / 100) : 1) * parseInt(size, 10));
148
+ }
149
+
150
+ // Checks an href to see if it is a photo.
151
+ // There is a force photo option (photo: true) for hrefs that cannot be matched by this regex.
152
+ function isImage(url) {
153
+ return settings.photo || /\.(gif|png|jpe?g|bmp|ico)((#|\?).*)?$/i.test(url);
154
+ }
155
+
156
+ // Assigns function results to their respective properties
157
+ function makeSettings() {
158
+ var i;
159
+ settings = $.extend({}, $.data(element, colorbox));
160
+
161
+ for (i in settings) {
162
+ if ($.isFunction(settings[i]) && i.slice(0, 2) !== 'on') { // checks to make sure the function isn't one of the callbacks, they will be handled at the appropriate time.
163
+ settings[i] = settings[i].call(element);
164
+ }
165
+ }
166
+
167
+ settings.rel = settings.rel || element.rel || 'nofollow';
168
+ settings.href = settings.href || $(element).attr('href');
169
+ settings.title = settings.title || element.title;
170
+
171
+ if (typeof settings.href === "string") {
172
+ settings.href = $.trim(settings.href);
173
+ }
174
+ }
175
+
176
+ function trigger(event, callback) {
177
+ $.event.trigger(event);
178
+ if (callback) {
179
+ callback.call(element);
180
+ }
181
+ }
182
+
183
+ // Slideshow functionality
184
+ function slideshow() {
185
+ var
186
+ timeOut,
187
+ className = prefix + "Slideshow_",
188
+ click = "click." + prefix,
189
+ start,
190
+ stop,
191
+ clear;
192
+
193
+ if (settings.slideshow && $related[1]) {
194
+ start = function () {
195
+ $slideshow
196
+ .text(settings.slideshowStop)
197
+ .unbind(click)
198
+ .bind(event_complete, function () {
199
+ if (settings.loop || $related[index + 1]) {
200
+ timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
201
+ }
202
+ })
203
+ .bind(event_load, function () {
204
+ clearTimeout(timeOut);
205
+ })
206
+ .one(click + ' ' + event_cleanup, stop);
207
+ $box.removeClass(className + "off").addClass(className + "on");
208
+ timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
209
+ };
210
+
211
+ stop = function () {
212
+ clearTimeout(timeOut);
213
+ $slideshow
214
+ .text(settings.slideshowStart)
215
+ .unbind([event_complete, event_load, event_cleanup, click].join(' '))
216
+ .one(click, function () {
217
+ publicMethod.next();
218
+ start();
219
+ });
220
+ $box.removeClass(className + "on").addClass(className + "off");
221
+ };
222
+
223
+ if (settings.slideshowAuto) {
224
+ start();
225
+ } else {
226
+ stop();
227
+ }
228
+ } else {
229
+ $box.removeClass(className + "off " + className + "on");
230
+ }
231
+ }
232
+
233
+ function launch(target) {
234
+ if (!closing) {
235
+
236
+ element = target;
237
+
238
+ makeSettings();
239
+
240
+ $related = $(element);
241
+
242
+ index = 0;
243
+
244
+ if (settings.rel !== 'nofollow') {
245
+ $related = $('.' + boxElement).filter(function () {
246
+ var relRelated = $.data(this, colorbox).rel || this.rel;
247
+ return (relRelated === settings.rel);
248
+ });
249
+ index = $related.index(element);
250
+
251
+ // Check direct calls to ColorBox.
252
+ if (index === -1) {
253
+ $related = $related.add(element);
254
+ index = $related.length - 1;
255
+ }
256
+ }
257
+
258
+ if (!open) {
259
+ open = active = true; // Prevents the page-change action from queuing up if the visitor holds down the left or right keys.
260
+
261
+ $box.show();
262
+
263
+ if (settings.returnFocus) {
264
+ $(element).blur().one(event_closed, function () {
265
+ $(this).focus();
266
+ });
267
+ }
268
+
269
+ // +settings.opacity avoids a problem in IE when using non-zero-prefixed-string-values, like '.5'
270
+ $overlay.css({"opacity": +settings.opacity, "cursor": settings.overlayClose ? "pointer" : "auto"}).show();
271
+
272
+ // Opens inital empty ColorBox prior to content being loaded.
273
+ settings.w = setSize(settings.initialWidth, 'x');
274
+ settings.h = setSize(settings.initialHeight, 'y');
275
+ publicMethod.position();
276
+
277
+ if (isIE6) {
278
+ $window.bind('resize.' + event_ie6 + ' scroll.' + event_ie6, function () {
279
+ $overlay.css({width: $window.width(), height: $window.height(), top: $window.scrollTop(), left: $window.scrollLeft()});
280
+ }).trigger('resize.' + event_ie6);
281
+ }
282
+
283
+ trigger(event_open, settings.onOpen);
284
+
285
+ $groupControls.add($title).hide();
286
+
287
+ $close.html(settings.close).show();
288
+ }
289
+
290
+ publicMethod.load(true);
291
+ }
292
+ }
293
+
294
+ // ColorBox's markup needs to be added to the DOM prior to being called
295
+ // so that the browser will go ahead and load the CSS background images.
296
+ function appendHTML() {
297
+ if (!$box && document.body) {
298
+ init = false;
299
+
300
+ $window = $(window);
301
+ $box = $tag(div).attr({id: colorbox, 'class': isIE ? prefix + (isIE6 ? 'IE6' : 'IE') : ''}).hide();
302
+ $overlay = $tag(div, "Overlay", isIE6 ? 'position:absolute' : '').hide();
303
+ $wrap = $tag(div, "Wrapper");
304
+ $content = $tag(div, "Content").append(
305
+ $loaded = $tag(div, "LoadedContent", 'width:0; height:0; overflow:hidden'),
306
+ $loadingOverlay = $tag(div, "LoadingOverlay").add($tag(div, "LoadingGraphic")),
307
+ $title = $tag(div, "Title"),
308
+ $current = $tag(div, "Current"),
309
+ $next = $tag(div, "Next"),
310
+ $prev = $tag(div, "Previous"),
311
+ $slideshow = $tag(div, "Slideshow").bind(event_open, slideshow),
312
+ $close = $tag(div, "Close")
313
+ );
314
+
315
+ $wrap.append( // The 3x3 Grid that makes up ColorBox
316
+ $tag(div).append(
317
+ $tag(div, "TopLeft"),
318
+ $topBorder = $tag(div, "TopCenter"),
319
+ $tag(div, "TopRight")
320
+ ),
321
+ $tag(div, false, 'clear:left').append(
322
+ $leftBorder = $tag(div, "MiddleLeft"),
323
+ $content,
324
+ $rightBorder = $tag(div, "MiddleRight")
325
+ ),
326
+ $tag(div, false, 'clear:left').append(
327
+ $tag(div, "BottomLeft"),
328
+ $bottomBorder = $tag(div, "BottomCenter"),
329
+ $tag(div, "BottomRight")
330
+ )
331
+ ).find('div div').css({'float': 'left'});
332
+
333
+ $loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none');
334
+
335
+ $groupControls = $next.add($prev).add($current).add($slideshow);
336
+
337
+ $(document.body).append($overlay, $box.append($wrap, $loadingBay));
338
+ }
339
+ }
340
+
341
+ // Add ColorBox's event bindings
342
+ function addBindings() {
343
+ if ($box) {
344
+ if (!init) {
345
+ init = true;
346
+
347
+ // Cache values needed for size calculations
348
+ interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();//Subtraction needed for IE6
349
+ interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width();
350
+ loadedHeight = $loaded.outerHeight(true);
351
+ loadedWidth = $loaded.outerWidth(true);
352
+
353
+ // Setting padding to remove the need to do size conversions during the animation step.
354
+ $box.css({"padding-bottom": interfaceHeight, "padding-right": interfaceWidth});
355
+
356
+ // Anonymous functions here keep the public method from being cached, thereby allowing them to be redefined on the fly.
357
+ $next.click(function () {
358
+ publicMethod.next();
359
+ });
360
+ $prev.click(function () {
361
+ publicMethod.prev();
362
+ });
363
+ $close.click(function () {
364
+ publicMethod.close();
365
+ });
366
+ $overlay.click(function () {
367
+ if (settings.overlayClose) {
368
+ publicMethod.close();
369
+ }
370
+ });
371
+
372
+ // Key Bindings
373
+ $(document).bind('keydown.' + prefix, function (e) {
374
+ var key = e.keyCode;
375
+ if (open && settings.escKey && key === 27) {
376
+ e.preventDefault();
377
+ publicMethod.close();
378
+ }
379
+ if (open && settings.arrowKey && $related[1]) {
380
+ if (key === 37) {
381
+ e.preventDefault();
382
+ $prev.click();
383
+ } else if (key === 39) {
384
+ e.preventDefault();
385
+ $next.click();
386
+ }
387
+ }
388
+ });
389
+
390
+ $('.' + boxElement, document).live('click', function (e) {
391
+ // ignore non-left-mouse-clicks and clicks modified with ctrl / command, shift, or alt.
392
+ // See: http://jacklmoore.com/notes/click-events/
393
+ if (!(e.which > 1 || e.shiftKey || e.altKey || e.metaKey)) {
394
+ e.preventDefault();
395
+ launch(this);
396
+ }
397
+ });
398
+ }
399
+ return true;
400
+ }
401
+ return false;
402
+ }
403
+
404
+ // Don't do anything if ColorBox already exists.
405
+ if ($.colorbox) {
406
+ return;
407
+ }
408
+
409
+ // Append the HTML when the DOM loads
410
+ $(appendHTML);
411
+
412
+
413
+ // ****************
414
+ // PUBLIC FUNCTIONS
415
+ // Usage format: $.fn.colorbox.close();
416
+ // Usage from within an iframe: parent.$.fn.colorbox.close();
417
+ // ****************
418
+
419
+ publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) {
420
+ var $this = this;
421
+
422
+ options = options || {};
423
+
424
+ appendHTML();
425
+
426
+ if (addBindings()) {
427
+ if (!$this[0]) {
428
+ if ($this.selector) { // if a selector was given and it didn't match any elements, go ahead and exit.
429
+ return $this;
430
+ }
431
+ // if no selector was given (ie. $.colorbox()), create a temporary element to work with
432
+ $this = $('<a/>');
433
+ options.open = true; // assume an immediate open
434
+ }
435
+
436
+ if (callback) {
437
+ options.onComplete = callback;
438
+ }
439
+
440
+ $this.each(function () {
441
+ $.data(this, colorbox, $.extend({}, $.data(this, colorbox) || defaults, options));
442
+ }).addClass(boxElement);
443
+
444
+ if (($.isFunction(options.open) && options.open.call($this)) || options.open) {
445
+ launch($this[0]);
446
+ }
447
+ }
448
+
449
+ return $this;
450
+ };
451
+
452
+ publicMethod.position = function (speed, loadedCallback) {
453
+ var
454
+ top = 0,
455
+ left = 0,
456
+ offset = $box.offset(),
457
+ scrollTop = $window.scrollTop(),
458
+ scrollLeft = $window.scrollLeft();
459
+
460
+ $window.unbind('resize.' + prefix);
461
+
462
+ // remove the modal so that it doesn't influence the document width/height
463
+ $box.css({top: -9e4, left: -9e4});
464
+
465
+ if (settings.fixed && !isIE6) {
466
+ offset.top -= scrollTop;
467
+ offset.left -= scrollLeft;
468
+ $box.css({position: 'fixed'});
469
+ } else {
470
+ top = scrollTop;
471
+ left = scrollLeft;
472
+ $box.css({position: 'absolute'});
473
+ }
474
+
475
+ // keeps the top and left positions within the browser's viewport.
476
+ if (settings.right !== false) {
477
+ left += Math.max($window.width() - settings.w - loadedWidth - interfaceWidth - setSize(settings.right, 'x'), 0);
478
+ } else if (settings.left !== false) {
479
+ left += setSize(settings.left, 'x');
480
+ } else {
481
+ left += Math.round(Math.max($window.width() - settings.w - loadedWidth - interfaceWidth, 0) / 2);
482
+ }
483
+
484
+ if (settings.bottom !== false) {
485
+ top += Math.max($window.height() - settings.h - loadedHeight - interfaceHeight - setSize(settings.bottom, 'y'), 0);
486
+ } else if (settings.top !== false) {
487
+ top += setSize(settings.top, 'y');
488
+ } else {
489
+ top += Math.round(Math.max($window.height() - settings.h - loadedHeight - interfaceHeight, 0) / 2);
490
+ }
491
+
492
+ $box.css({top: offset.top, left: offset.left});
493
+
494
+ // setting the speed to 0 to reduce the delay between same-sized content.
495
+ speed = ($box.width() === settings.w + loadedWidth && $box.height() === settings.h + loadedHeight) ? 0 : speed || 0;
496
+
497
+ // this gives the wrapper plenty of breathing room so it's floated contents can move around smoothly,
498
+ // but it has to be shrank down around the size of div#colorbox when it's done. If not,
499
+ // it can invoke an obscure IE bug when using iframes.
500
+ $wrap[0].style.width = $wrap[0].style.height = "9999px";
501
+
502
+ function modalDimensions(that) {
503
+ $topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width = that.style.width;
504
+ $content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height = that.style.height;
505
+ }
506
+
507
+ $box.dequeue().animate({width: settings.w + loadedWidth, height: settings.h + loadedHeight, top: top, left: left}, {
508
+ duration: speed,
509
+ complete: function () {
510
+ modalDimensions(this);
511
+
512
+ active = false;
513
+
514
+ // shrink the wrapper down to exactly the size of colorbox to avoid a bug in IE's iframe implementation.
515
+ $wrap[0].style.width = (settings.w + loadedWidth + interfaceWidth) + "px";
516
+ $wrap[0].style.height = (settings.h + loadedHeight + interfaceHeight) + "px";
517
+
518
+ if (settings.reposition) {
519
+ setTimeout(function () { // small delay before binding onresize due to an IE8 bug.
520
+ $window.bind('resize.' + prefix, publicMethod.position);
521
+ }, 1);
522
+ }
523
+
524
+ if (loadedCallback) {
525
+ loadedCallback();
526
+ }
527
+ },
528
+ step: function () {
529
+ modalDimensions(this);
530
+ }
531
+ });
532
+ };
533
+
534
+ publicMethod.resize = function (options) {
535
+ if (open) {
536
+ options = options || {};
537
+
538
+ if (options.width) {
539
+ settings.w = setSize(options.width, 'x') - loadedWidth - interfaceWidth;
540
+ }
541
+ if (options.innerWidth) {
542
+ settings.w = setSize(options.innerWidth, 'x');
543
+ }
544
+ $loaded.css({width: settings.w});
545
+
546
+ if (options.height) {
547
+ settings.h = setSize(options.height, 'y') - loadedHeight - interfaceHeight;
548
+ }
549
+ if (options.innerHeight) {
550
+ settings.h = setSize(options.innerHeight, 'y');
551
+ }
552
+ if (!options.innerHeight && !options.height) {
553
+ $loaded.css({height: "auto"});
554
+ settings.h = $loaded.height();
555
+ }
556
+ $loaded.css({height: settings.h});
557
+
558
+ publicMethod.position(settings.transition === "none" ? 0 : settings.speed);
559
+ }
560
+ };
561
+
562
+ publicMethod.prep = function (object) {
563
+ if (!open) {
564
+ return;
565
+ }
566
+
567
+ var callback, speed = settings.transition === "none" ? 0 : settings.speed;
568
+
569
+ $loaded.remove();
570
+ $loaded = $tag(div, 'LoadedContent').append(object);
571
+
572
+ function getWidth() {
573
+ settings.w = settings.w || $loaded.width();
574
+ settings.w = settings.mw && settings.mw < settings.w ? settings.mw : settings.w;
575
+ return settings.w;
576
+ }
577
+ function getHeight() {
578
+ settings.h = settings.h || $loaded.height();
579
+ settings.h = settings.mh && settings.mh < settings.h ? settings.mh : settings.h;
580
+ return settings.h;
581
+ }
582
+
583
+ $loaded.hide()
584
+ .appendTo($loadingBay.show())// content has to be appended to the DOM for accurate size calculations.
585
+ .css({width: getWidth(), overflow: settings.scrolling ? 'auto' : 'hidden'})
586
+ .css({height: getHeight()})// sets the height independently from the width in case the new width influences the value of height.
587
+ .prependTo($content);
588
+
589
+ $loadingBay.hide();
590
+
591
+ // floating the IMG removes the bottom line-height and fixed a problem where IE miscalculates the width of the parent element as 100% of the document width.
592
+ //$(photo).css({'float': 'none', marginLeft: 'auto', marginRight: 'auto'});
593
+
594
+ $(photo).css({'float': 'none'});
595
+
596
+ // Hides SELECT elements in IE6 because they would otherwise sit on top of the overlay.
597
+ if (isIE6) {
598
+ $('select').not($box.find('select')).filter(function () {
599
+ return this.style.visibility !== 'hidden';
600
+ }).css({'visibility': 'hidden'}).one(event_cleanup, function () {
601
+ this.style.visibility = 'inherit';
602
+ });
603
+ }
604
+
605
+ callback = function () {
606
+ var preload, i, total = $related.length, iframe, frameBorder = 'frameBorder', allowTransparency = 'allowTransparency', complete, src, img;
607
+
608
+ if (!open) {
609
+ return;
610
+ }
611
+
612
+ function removeFilter() {
613
+ if (isIE) {
614
+ $box[0].style.removeAttribute('filter');
615
+ }
616
+ }
617
+
618
+ complete = function () {
619
+ clearTimeout(loadingTimer);
620
+ $loadingOverlay.hide();
621
+ trigger(event_complete, settings.onComplete);
622
+ };
623
+
624
+ if (isIE) {
625
+ //This fadeIn helps the bicubic resampling to kick-in.
626
+ if (photo) {
627
+ $loaded.fadeIn(100);
628
+ }
629
+ }
630
+
631
+ $title.html(settings.title).add($loaded).show();
632
+
633
+ if (total > 1) { // handle grouping
634
+ if (typeof settings.current === "string") {
635
+ $current.html(settings.current.replace('{current}', index + 1).replace('{total}', total)).show();
636
+ }
637
+
638
+ $next[(settings.loop || index < total - 1) ? "show" : "hide"]().html(settings.next);
639
+ $prev[(settings.loop || index) ? "show" : "hide"]().html(settings.previous);
640
+
641
+ if (settings.slideshow) {
642
+ $slideshow.show();
643
+ }
644
+
645
+ // Preloads images within a rel group
646
+ if (settings.preloading) {
647
+ preload = [
648
+ getIndex(-1),
649
+ getIndex(1)
650
+ ];
651
+ while (i = $related[preload.pop()]) {
652
+ src = $.data(i, colorbox).href || i.href;
653
+ if ($.isFunction(src)) {
654
+ src = src.call(i);
655
+ }
656
+ if (isImage(src)) {
657
+ img = new Image();
658
+ img.src = src;
659
+ }
660
+ }
661
+ }
662
+ } else {
663
+ $groupControls.hide();
664
+ }
665
+
666
+ if (settings.iframe) {
667
+ iframe = $tag('iframe')[0];
668
+
669
+ if (frameBorder in iframe) {
670
+ iframe[frameBorder] = 0;
671
+ }
672
+ if (allowTransparency in iframe) {
673
+ iframe[allowTransparency] = "true";
674
+ }
675
+ // give the iframe a unique name to prevent caching
676
+ iframe.name = prefix + (+new Date());
677
+ if (settings.fastIframe) {
678
+ complete();
679
+ } else {
680
+ $(iframe).one('load', complete);
681
+ }
682
+ iframe.src = settings.href;
683
+ if (!settings.scrolling) {
684
+ iframe.scrolling = "no";
685
+ }
686
+ $(iframe).addClass(prefix + 'Iframe').appendTo($loaded).one(event_purge, function () {
687
+ iframe.src = "//about:blank";
688
+ });
689
+ } else {
690
+ complete();
691
+ }
692
+
693
+ if (settings.transition === 'fade') {
694
+ $box.fadeTo(speed, 1, removeFilter);
695
+ } else {
696
+ removeFilter();
697
+ }
698
+ };
699
+
700
+ if (settings.transition === 'fade') {
701
+ $box.fadeTo(speed, 0, function () {
702
+ publicMethod.position(0, callback);
703
+ });
704
+ } else {
705
+ publicMethod.position(speed, callback);
706
+ }
707
+ };
708
+
709
+ publicMethod.load = function (launched) {
710
+ var href, setResize, prep = publicMethod.prep;
711
+
712
+ active = true;
713
+
714
+ photo = false;
715
+
716
+ element = $related[index];
717
+
718
+ if (!launched) {
719
+ makeSettings();
720
+ }
721
+
722
+ trigger(event_purge);
723
+
724
+ trigger(event_load, settings.onLoad);
725
+
726
+ settings.h = settings.height ?
727
+ setSize(settings.height, 'y') - loadedHeight - interfaceHeight :
728
+ settings.innerHeight && setSize(settings.innerHeight, 'y');
729
+
730
+ settings.w = settings.width ?
731
+ setSize(settings.width, 'x') - loadedWidth - interfaceWidth :
732
+ settings.innerWidth && setSize(settings.innerWidth, 'x');
733
+
734
+ // Sets the minimum dimensions for use in image scaling
735
+ settings.mw = settings.w;
736
+ settings.mh = settings.h;
737
+
738
+ // Re-evaluate the minimum width and height based on maxWidth and maxHeight values.
739
+ // If the width or height exceed the maxWidth or maxHeight, use the maximum values instead.
740
+ if (settings.maxWidth) {
741
+ settings.mw = setSize(settings.maxWidth, 'x') - loadedWidth - interfaceWidth;
742
+ settings.mw = settings.w && settings.w < settings.mw ? settings.w : settings.mw;
743
+ }
744
+ if (settings.maxHeight) {
745
+ settings.mh = setSize(settings.maxHeight, 'y') - loadedHeight - interfaceHeight;
746
+ settings.mh = settings.h && settings.h < settings.mh ? settings.h : settings.mh;
747
+ }
748
+
749
+ href = settings.href;
750
+
751
+ loadingTimer = setTimeout(function () {
752
+ $loadingOverlay.show();
753
+ }, 100);
754
+
755
+ if (settings.inline) {
756
+ // Inserts an empty placeholder where inline content is being pulled from.
757
+ // An event is bound to put inline content back when ColorBox closes or loads new content.
758
+ $tag(div).hide().insertBefore($(href)[0]).one(event_purge, function () {
759
+ $(this).replaceWith($loaded.children());
760
+ });
761
+ prep($(href));
762
+ } else if (settings.iframe) {
763
+ // IFrame element won't be added to the DOM until it is ready to be displayed,
764
+ // to avoid problems with DOM-ready JS that might be trying to run in that iframe.
765
+ prep(" ");
766
+ } else if (settings.html) {
767
+ prep(settings.html);
768
+ } else if (isImage(href)) {
769
+ $(photo = new Image())
770
+ .addClass(prefix + 'Photo')
771
+ .error(function () {
772
+ settings.title = false;
773
+ prep($tag(div, 'Error').text('This image could not be loaded'));
774
+ })
775
+ .load(function () {
776
+ var percent;
777
+ photo.onload = null; //stops animated gifs from firing the onload repeatedly.
778
+
779
+ if (settings.scalePhotos) {
780
+ setResize = function () {
781
+ photo.height -= photo.height * percent;
782
+ photo.width -= photo.width * percent;
783
+ };
784
+ if (settings.mw && photo.width > settings.mw) {
785
+ percent = (photo.width - settings.mw) / photo.width;
786
+ setResize();
787
+ }
788
+ if (settings.mh && photo.height > settings.mh) {
789
+ percent = (photo.height - settings.mh) / photo.height;
790
+ setResize();
791
+ }
792
+ }
793
+
794
+ if (settings.h) {
795
+ photo.style.marginTop = Math.max(settings.h - photo.height, 0) / 2 + 'px';
796
+ }
797
+
798
+ if ($related[1] && (settings.loop || $related[index + 1])) {
799
+ photo.style.cursor = 'pointer';
800
+ photo.onclick = function () {
801
+ publicMethod.next();
802
+ };
803
+ }
804
+
805
+ if (isIE) {
806
+ photo.style.msInterpolationMode = 'bicubic';
807
+ }
808
+
809
+ setTimeout(function () { // A pause because Chrome will sometimes report a 0 by 0 size otherwise.
810
+ prep(photo);
811
+ }, 1);
812
+ });
813
+
814
+ setTimeout(function () { // A pause because Opera 10.6+ will sometimes not run the onload function otherwise.
815
+ photo.src = href;
816
+ }, 1);
817
+ } else if (href) {
818
+ $loadingBay.load(href, settings.data, function (data, status, xhr) {
819
+ prep(status === 'error' ? $tag(div, 'Error').text('Request unsuccessful: ' + xhr.statusText) : $(this).contents());
820
+ });
821
+ }
822
+ };
823
+
824
+ // Navigates to the next page/image in a set.
825
+ publicMethod.next = function () {
826
+ if (!active && $related[1] && (settings.loop || $related[index + 1])) {
827
+ index = getIndex(1);
828
+ publicMethod.load();
829
+ }
830
+ };
831
+
832
+ publicMethod.prev = function () {
833
+ if (!active && $related[1] && (settings.loop || index)) {
834
+ index = getIndex(-1);
835
+ publicMethod.load();
836
+ }
837
+ };
838
+
839
+ // Note: to use this within an iframe use the following format: parent.$.fn.colorbox.close();
840
+ publicMethod.close = function () {
841
+ if (open && !closing) {
842
+
843
+ closing = true;
844
+
845
+ open = false;
846
+
847
+ trigger(event_cleanup, settings.onCleanup);
848
+
849
+ $window.unbind('.' + prefix + ' .' + event_ie6);
850
+
851
+ $overlay.fadeTo(200, 0);
852
+
853
+ $box.stop().fadeTo(300, 0, function () {
854
+
855
+ $box.add($overlay).css({'opacity': 1, cursor: 'auto'}).hide();
856
+
857
+ trigger(event_purge);
858
+
859
+ $loaded.remove();
860
+
861
+ setTimeout(function () {
862
+ closing = false;
863
+ trigger(event_closed, settings.onClosed);
864
+ }, 1);
865
+ });
866
+ }
867
+ };
868
+
869
+ // Removes changes ColorBox made to the document, but does not remove the plugin
870
+ // from jQuery.
871
+ publicMethod.remove = function () {
872
+ $([]).add($box).add($overlay).remove();
873
+ $box = null;
874
+ $('.' + boxElement)
875
+ .removeData(colorbox)
876
+ .removeClass(boxElement)
877
+ .die();
878
+ };
879
+
880
+ // A method for fetching the current element ColorBox is referencing.
881
+ // returns a jQuery object.
882
+ publicMethod.element = function () {
883
+ return $(element);
884
+ };
885
+
886
+ publicMethod.settings = defaults;
887
+
888
+ }(jQuery, document, this));
lightbox-gallery-ja.mo CHANGED
Binary file
lightbox-gallery-ja.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-02-21 14:46+0900\n"
6
- "PO-Revision-Date: 2012-02-21 14:48+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -16,189 +16,219 @@ msgstr ""
16
  "X-Poedit-Basepath: ../\n"
17
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
18
 
19
- #: lightbox-gallery/lightbox-gallery.php:213
20
  msgid "Settings"
21
  msgstr "設定"
22
 
23
- #: lightbox-gallery/lightbox-gallery.php:228
24
- #: lightbox-gallery/lightbox-gallery.php:261
25
  msgid "Lightbox Gallery"
26
  msgstr "Lightbox Gallery"
27
 
28
- #: lightbox-gallery/lightbox-gallery.php:244
29
  msgid "Options updated."
30
  msgstr "オプションは更新されました。"
31
 
32
- #: lightbox-gallery/lightbox-gallery.php:248
33
  msgid "Options deleted."
34
  msgstr "オプションは削除されました。"
35
 
36
- #: lightbox-gallery/lightbox-gallery.php:268
37
- #: lightbox-gallery/lightbox-gallery.php:348
38
- #: lightbox-gallery/lightbox-gallery.php:366
39
- #: lightbox-gallery/lightbox-gallery.php:382
 
 
 
 
 
 
 
 
 
40
  msgid "Click to toggle"
41
  msgstr "クリックで切替"
42
 
43
- #: lightbox-gallery/lightbox-gallery.php:269
44
  msgid "Lightbox Gallery Options"
45
  msgstr "Lightbox Gallery オプション"
46
 
47
- #: lightbox-gallery/lightbox-gallery.php:278
48
  msgid "Choose the gallery loading type"
49
  msgstr "ギャラリー読込タイプを選択してください"
50
 
51
- #: lightbox-gallery/lightbox-gallery.php:279
 
 
 
 
52
  msgid "Lightbox"
53
  msgstr "Lightbox"
54
 
55
- #: lightbox-gallery/lightbox-gallery.php:283
 
 
 
 
 
56
  msgid "Highslide JS"
57
  msgstr "Highslide JS"
58
 
59
- #: lightbox-gallery/lightbox-gallery.php:284
60
  #, php-format
61
  msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
62
  msgstr "注意: Highslide JSは、Creative Commons 表示-非営利 2.5 一般のライセンスです。Highslide JSを商用ウェブサイトで使用するには著作者の許可が必要です。<a href=\"%s\" target=\"_blank\">著作者のウェブサイトをご覧ください。</a>"
63
 
64
- #: lightbox-gallery/lightbox-gallery.php:288
65
  #, php-format
66
- msgid "You can change the lightbox view to the highslide. Just <a href=\"%s\" target=\"_blank\">download</a> the highslide script and put `highslide.js` into `/lightbox-gallery/js/` and `graphics` directory into `/lightbox-gallery/`."
67
- msgstr "Lightbox の表示を highslide に変更できます。highslide のスクリプトを<a href=\"%s\" target=\"_blank\">ダウンロード</a>し、`highslide.js`を`/lightbox-gallery/js/`に、`graphics`ディレクトリを`/lightbox-gallery/`に設置してください。"
68
 
69
- #: lightbox-gallery/lightbox-gallery.php:295
70
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
71
  msgstr "特定のカテゴリーでLightboxを使用したい場合(カンマ区切り)"
72
 
73
- #: lightbox-gallery/lightbox-gallery.php:299
74
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
75
  msgstr "特定のページでLightboxを使用したい場合(カンマ区切り)"
76
 
77
- #: lightbox-gallery/lightbox-gallery.php:303
78
  msgid "Enforce loading the lightbox gallery scripts"
79
  msgstr "lightbox galleryスクリプトの読み込みを強制する"
80
 
81
- #: lightbox-gallery/lightbox-gallery.php:304
82
  msgid "The lightbox gallery scripts are loaded in every page"
83
  msgstr "lightbox galleryスクリプトはすべてのページで読み込まれます"
84
 
85
- #: lightbox-gallery/lightbox-gallery.php:307
86
  msgid "Add rel=&quot;lightbox&quot; automatically in the post insert"
87
  msgstr "投稿挿入時に自動的に rel=&quot;lightbox&quot; を追加する"
88
 
89
- #: lightbox-gallery/lightbox-gallery.php:308
90
  msgid "Do not forget to check the script enforcement option above with this"
91
  msgstr "上記のスクリプト強制読込オプションも忘れずにチェックしてください"
92
 
93
- #: lightbox-gallery/lightbox-gallery.php:311
94
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
95
  msgstr "lightbox-gallery.cssの読み込みを禁止する場合"
96
 
97
- #: lightbox-gallery/lightbox-gallery.php:312
98
  msgid "Do not use the lightbox-gallery.css"
99
  msgstr "lightbox-gallery.cssを使用しない"
100
 
101
- #: lightbox-gallery/lightbox-gallery.php:315
102
  msgid "In case that you would like to disable to load the column inline css"
103
  msgstr "カラムのインラインcssの読み込みを禁止する場合"
104
 
105
- #: lightbox-gallery/lightbox-gallery.php:316
106
  msgid "Do not use the column inline css"
107
  msgstr "カラムのインラインcssを使用しない"
108
 
109
- #: lightbox-gallery/lightbox-gallery.php:319
110
  msgid "In case that you would like to set the default number of columns"
111
  msgstr "デフォルトのカラム数をセットする場合"
112
 
113
- #: lightbox-gallery/lightbox-gallery.php:323
114
  msgid "In case that you would like to set the default thumbnail size"
115
  msgstr "デフォルトのサムネイルサイズをセットする場合"
116
 
117
- #: lightbox-gallery/lightbox-gallery.php:327
118
  msgid "In case that you would like to set the default lightbox size"
119
  msgstr "デフォルトのlightboxサイズをセットする場合"
120
 
121
- #: lightbox-gallery/lightbox-gallery.php:334
122
  msgid "Choose the script loading point"
123
  msgstr "スクリプトの読込ポイントを選択してください"
124
 
125
- #: lightbox-gallery/lightbox-gallery.php:335
126
  msgid "Header"
127
  msgstr "ヘッダー"
128
 
129
- #: lightbox-gallery/lightbox-gallery.php:336
130
  msgid "Footer"
131
  msgstr "フッター"
132
 
133
- #: lightbox-gallery/lightbox-gallery.php:339
134
  msgid "Update Options &raquo;"
135
  msgstr "オプションを更新する &raquo;"
136
 
137
- #: lightbox-gallery/lightbox-gallery.php:349
138
  msgid "Delete Options"
139
  msgstr "オプションを削除する"
140
 
141
- #: lightbox-gallery/lightbox-gallery.php:351
142
  msgid "Are you sure to delete options? Options you set will be deleted."
143
  msgstr "本当にオプションを削除しますか?設定したオプションは削除されます。"
144
 
145
- #: lightbox-gallery/lightbox-gallery.php:355
146
  msgid "Delete Options &raquo;"
147
  msgstr "オプションを削除する &raquo;"
148
 
149
- #: lightbox-gallery/lightbox-gallery.php:367
 
 
 
 
 
 
 
 
 
 
 
 
150
  msgid "Donation"
151
  msgstr "寄付"
152
 
153
- #: lightbox-gallery/lightbox-gallery.php:369
154
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
155
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
156
 
157
- #: lightbox-gallery/lightbox-gallery.php:383
158
  msgid "CMS x WP"
159
  msgstr "CMS×WP"
160
 
161
- #: lightbox-gallery/lightbox-gallery.php:385
162
  msgid "There are much more plugins which are useful for developing business websites such as membership sites or ec sites. You could totally treat WordPress as CMS by use of CMS x WP plugins."
163
  msgstr "会員制サイトやECサイトなどのビジネスサイト構築に役立つプラグインが盛りだくさん。CMS×WPのプラグインで WordPress が CMS として大いに活躍します。"
164
 
165
- #: lightbox-gallery/lightbox-gallery.php:386
166
  msgid "WordPress plugin sales site: CMS x WP"
167
  msgstr "WordPress のプラグイン販売サイト CMS×WP"
168
 
169
- #: lightbox-gallery/lightbox-gallery.php:460
170
  msgid "Pages:"
171
  msgstr "ページ:"
172
 
173
- #: lightbox-gallery/lightbox-gallery.php:462
174
  msgid "Next page"
175
  msgstr "次のページ"
176
 
177
- #: lightbox-gallery/lightbox-gallery.php:463
178
  msgid "Previous page"
179
  msgstr "前のページ"
180
 
181
- #: lightbox-gallery/lightbox-gallery.php:546
182
  msgid "camera"
183
  msgstr "機種"
184
 
185
- #: lightbox-gallery/lightbox-gallery.php:548
186
  msgid "aperture"
187
  msgstr "絞り値"
188
 
189
- #: lightbox-gallery/lightbox-gallery.php:550
190
  msgid "focal_length"
191
  msgstr "焦点距離"
192
 
193
- #: lightbox-gallery/lightbox-gallery.php:552
194
  msgid "ISO"
195
  msgstr "ISO"
196
 
197
- #: lightbox-gallery/lightbox-gallery.php:556
198
  msgid "shutter_speed"
199
  msgstr "シャッタースピード"
200
 
201
- #: lightbox-gallery/lightbox-gallery.php:559
202
  msgid "created_timestamp"
203
  msgstr "撮影日時"
204
 
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-04-28 02:04+0900\n"
6
+ "PO-Revision-Date: 2012-04-28 02:04+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
16
  "X-Poedit-Basepath: ../\n"
17
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
18
 
19
+ #: lightbox-gallery/lightbox-gallery.php:229
20
  msgid "Settings"
21
  msgstr "設定"
22
 
23
+ #: lightbox-gallery/lightbox-gallery.php:244
24
+ #: lightbox-gallery/lightbox-gallery.php:290
25
  msgid "Lightbox Gallery"
26
  msgstr "Lightbox Gallery"
27
 
28
+ #: lightbox-gallery/lightbox-gallery.php:260
29
  msgid "Options updated."
30
  msgstr "オプションは更新されました。"
31
 
32
+ #: lightbox-gallery/lightbox-gallery.php:264
33
  msgid "Options deleted."
34
  msgstr "オプションは削除されました。"
35
 
36
+ #: lightbox-gallery/lightbox-gallery.php:274
37
+ msgid "Scripts downloaded."
38
+ msgstr "スクリプトがダウンロードされました。"
39
+
40
+ #: lightbox-gallery/lightbox-gallery.php:276
41
+ msgid "Download failed."
42
+ msgstr "ダウンロードは失敗しました。"
43
+
44
+ #: lightbox-gallery/lightbox-gallery.php:297
45
+ #: lightbox-gallery/lightbox-gallery.php:392
46
+ #: lightbox-gallery/lightbox-gallery.php:413
47
+ #: lightbox-gallery/lightbox-gallery.php:426
48
+ #: lightbox-gallery/lightbox-gallery.php:442
49
  msgid "Click to toggle"
50
  msgstr "クリックで切替"
51
 
52
+ #: lightbox-gallery/lightbox-gallery.php:298
53
  msgid "Lightbox Gallery Options"
54
  msgstr "Lightbox Gallery オプション"
55
 
56
+ #: lightbox-gallery/lightbox-gallery.php:307
57
  msgid "Choose the gallery loading type"
58
  msgstr "ギャラリー読込タイプを選択してください"
59
 
60
+ #: lightbox-gallery/lightbox-gallery.php:308
61
+ msgid "Colorbox"
62
+ msgstr "Colorbox"
63
+
64
+ #: lightbox-gallery/lightbox-gallery.php:312
65
  msgid "Lightbox"
66
  msgstr "Lightbox"
67
 
68
+ #: lightbox-gallery/lightbox-gallery.php:317
69
+ #, php-format
70
+ msgid "Due to the license regulation by the plugin directory, it is impossible to include `jquery.lightbox.js`. Just <a href=\"%s\" target=\"_blank\">download</a> the lightbox script and put `jquery.lightbox.js` into `/lightbox-gallery/js/`."
71
+ msgstr "プラグインディレクトリのライセンス規制のため、`jquery.lightbox.js` を含めることができなくなりました。lightbox のスクリプトを<a href=\"%s\" target=\"_blank\">ダウンロード</a>し、`jquery.lightbox.js`を`/lightbox-gallery/js/`に設置してください。"
72
+
73
+ #: lightbox-gallery/lightbox-gallery.php:323
74
  msgid "Highslide JS"
75
  msgstr "Highslide JS"
76
 
77
+ #: lightbox-gallery/lightbox-gallery.php:325
78
  #, php-format
79
  msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
80
  msgstr "注意: Highslide JSは、Creative Commons 表示-非営利 2.5 一般のライセンスです。Highslide JSを商用ウェブサイトで使用するには著作者の許可が必要です。<a href=\"%s\" target=\"_blank\">著作者のウェブサイトをご覧ください。</a>"
81
 
82
+ #: lightbox-gallery/lightbox-gallery.php:331
83
  #, php-format
84
+ msgid "You can change the lightbox view to the highslide. Just <a href=\"%s\" target=\"_blank\">download</a> the highslide script and put `highslide.js` into `/lightbox-gallery/js/`."
85
+ msgstr "Lightbox の表示を highslide に変更できます。highslide のスクリプトを<a href=\"%s\" target=\"_blank\">ダウンロード</a>し、`highslide.js`を`/lightbox-gallery/js/`に設置してください。"
86
 
87
+ #: lightbox-gallery/lightbox-gallery.php:339
88
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
89
  msgstr "特定のカテゴリーでLightboxを使用したい場合(カンマ区切り)"
90
 
91
+ #: lightbox-gallery/lightbox-gallery.php:343
92
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
93
  msgstr "特定のページでLightboxを使用したい場合(カンマ区切り)"
94
 
95
+ #: lightbox-gallery/lightbox-gallery.php:347
96
  msgid "Enforce loading the lightbox gallery scripts"
97
  msgstr "lightbox galleryスクリプトの読み込みを強制する"
98
 
99
+ #: lightbox-gallery/lightbox-gallery.php:348
100
  msgid "The lightbox gallery scripts are loaded in every page"
101
  msgstr "lightbox galleryスクリプトはすべてのページで読み込まれます"
102
 
103
+ #: lightbox-gallery/lightbox-gallery.php:351
104
  msgid "Add rel=&quot;lightbox&quot; automatically in the post insert"
105
  msgstr "投稿挿入時に自動的に rel=&quot;lightbox&quot; を追加する"
106
 
107
+ #: lightbox-gallery/lightbox-gallery.php:352
108
  msgid "Do not forget to check the script enforcement option above with this"
109
  msgstr "上記のスクリプト強制読込オプションも忘れずにチェックしてください"
110
 
111
+ #: lightbox-gallery/lightbox-gallery.php:355
112
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
113
  msgstr "lightbox-gallery.cssの読み込みを禁止する場合"
114
 
115
+ #: lightbox-gallery/lightbox-gallery.php:356
116
  msgid "Do not use the lightbox-gallery.css"
117
  msgstr "lightbox-gallery.cssを使用しない"
118
 
119
+ #: lightbox-gallery/lightbox-gallery.php:359
120
  msgid "In case that you would like to disable to load the column inline css"
121
  msgstr "カラムのインラインcssの読み込みを禁止する場合"
122
 
123
+ #: lightbox-gallery/lightbox-gallery.php:360
124
  msgid "Do not use the column inline css"
125
  msgstr "カラムのインラインcssを使用しない"
126
 
127
+ #: lightbox-gallery/lightbox-gallery.php:363
128
  msgid "In case that you would like to set the default number of columns"
129
  msgstr "デフォルトのカラム数をセットする場合"
130
 
131
+ #: lightbox-gallery/lightbox-gallery.php:367
132
  msgid "In case that you would like to set the default thumbnail size"
133
  msgstr "デフォルトのサムネイルサイズをセットする場合"
134
 
135
+ #: lightbox-gallery/lightbox-gallery.php:371
136
  msgid "In case that you would like to set the default lightbox size"
137
  msgstr "デフォルトのlightboxサイズをセットする場合"
138
 
139
+ #: lightbox-gallery/lightbox-gallery.php:378
140
  msgid "Choose the script loading point"
141
  msgstr "スクリプトの読込ポイントを選択してください"
142
 
143
+ #: lightbox-gallery/lightbox-gallery.php:379
144
  msgid "Header"
145
  msgstr "ヘッダー"
146
 
147
+ #: lightbox-gallery/lightbox-gallery.php:380
148
  msgid "Footer"
149
  msgstr "フッター"
150
 
151
+ #: lightbox-gallery/lightbox-gallery.php:383
152
  msgid "Update Options &raquo;"
153
  msgstr "オプションを更新する &raquo;"
154
 
155
+ #: lightbox-gallery/lightbox-gallery.php:393
156
  msgid "Delete Options"
157
  msgstr "オプションを削除する"
158
 
159
+ #: lightbox-gallery/lightbox-gallery.php:395
160
  msgid "Are you sure to delete options? Options you set will be deleted."
161
  msgstr "本当にオプションを削除しますか?設定したオプションは削除されます。"
162
 
163
+ #: lightbox-gallery/lightbox-gallery.php:399
164
  msgid "Delete Options &raquo;"
165
  msgstr "オプションを削除する &raquo;"
166
 
167
+ #: lightbox-gallery/lightbox-gallery.php:414
168
+ msgid "Script Auto Download"
169
+ msgstr "スクリプト自動ダウンロード"
170
+
171
+ #: lightbox-gallery/lightbox-gallery.php:416
172
+ msgid "Just push the button and `jquery.lightbox.js` and `highslide.js` will be downloaded automatically."
173
+ msgstr "このボタンを押すだけで、`jquery.lightbox.js` と `jquery.lightbox.js` を自動的にダウンロードします。"
174
+
175
+ #: lightbox-gallery/lightbox-gallery.php:418
176
+ msgid "Download Scripts &raquo;"
177
+ msgstr "スクリプトダウンロード &raquo;"
178
+
179
+ #: lightbox-gallery/lightbox-gallery.php:427
180
  msgid "Donation"
181
  msgstr "寄付"
182
 
183
+ #: lightbox-gallery/lightbox-gallery.php:429
184
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
185
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
186
 
187
+ #: lightbox-gallery/lightbox-gallery.php:443
188
  msgid "CMS x WP"
189
  msgstr "CMS×WP"
190
 
191
+ #: lightbox-gallery/lightbox-gallery.php:445
192
  msgid "There are much more plugins which are useful for developing business websites such as membership sites or ec sites. You could totally treat WordPress as CMS by use of CMS x WP plugins."
193
  msgstr "会員制サイトやECサイトなどのビジネスサイト構築に役立つプラグインが盛りだくさん。CMS×WPのプラグインで WordPress が CMS として大いに活躍します。"
194
 
195
+ #: lightbox-gallery/lightbox-gallery.php:446
196
  msgid "WordPress plugin sales site: CMS x WP"
197
  msgstr "WordPress のプラグイン販売サイト CMS×WP"
198
 
199
+ #: lightbox-gallery/lightbox-gallery.php:520
200
  msgid "Pages:"
201
  msgstr "ページ:"
202
 
203
+ #: lightbox-gallery/lightbox-gallery.php:522
204
  msgid "Next page"
205
  msgstr "次のページ"
206
 
207
+ #: lightbox-gallery/lightbox-gallery.php:523
208
  msgid "Previous page"
209
  msgstr "前のページ"
210
 
211
+ #: lightbox-gallery/lightbox-gallery.php:615
212
  msgid "camera"
213
  msgstr "機種"
214
 
215
+ #: lightbox-gallery/lightbox-gallery.php:617
216
  msgid "aperture"
217
  msgstr "絞り値"
218
 
219
+ #: lightbox-gallery/lightbox-gallery.php:619
220
  msgid "focal_length"
221
  msgstr "焦点距離"
222
 
223
+ #: lightbox-gallery/lightbox-gallery.php:621
224
  msgid "ISO"
225
  msgstr "ISO"
226
 
227
+ #: lightbox-gallery/lightbox-gallery.php:625
228
  msgid "shutter_speed"
229
  msgstr "シャッタースピード"
230
 
231
+ #: lightbox-gallery/lightbox-gallery.php:628
232
  msgid "created_timestamp"
233
  msgstr "撮影日時"
234
 
lightbox-gallery-sk_SK.mo ADDED
Binary file
lightbox-gallery-sk_SK.po ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Lightbox Gallery\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-01-12 01:35+0900\n"
6
+ "PO-Revision-Date: 2012-01-12 01:35+0900\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: \n"
14
+ "X-Poedit-Country: \n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: lightbox-gallery\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: lightbox-gallery.php:213
23
+ #@ default
24
+ msgid "Settings"
25
+ msgstr "Nastavenia"
26
+
27
+ #: lightbox-gallery.php:228
28
+ #: lightbox-gallery.php:261
29
+ #@ lightbox-gallery
30
+ msgid "Lightbox Gallery"
31
+ msgstr "Lightbox galéria"
32
+
33
+ #: lightbox-gallery.php:244
34
+ #@ lightbox-gallery
35
+ msgid "Options updated."
36
+ msgstr "Nastavenia zmenené."
37
+
38
+ #: lightbox-gallery.php:248
39
+ #@ lightbox-gallery
40
+ msgid "Options deleted."
41
+ msgstr "Nastavenia zmazané."
42
+
43
+ #: lightbox-gallery.php:268
44
+ #: lightbox-gallery.php:337
45
+ #: lightbox-gallery.php:355
46
+ #: lightbox-gallery.php:371
47
+ #@ lightbox-gallery
48
+ msgid "Click to toggle"
49
+ msgstr "Kliknite pre prepnutie"
50
+
51
+ #: lightbox-gallery.php:269
52
+ #@ lightbox-gallery
53
+ msgid "Lightbox Gallery Options"
54
+ msgstr "Nastavenia Lightbox galérie"
55
+
56
+ #: lightbox-gallery.php:278
57
+ #@ lightbox-gallery
58
+ msgid "Choose the gallery loading type"
59
+ msgstr "Vyberte typ galérie"
60
+
61
+ #: lightbox-gallery.php:279
62
+ #@ lightbox-gallery
63
+ msgid "Lightbox"
64
+ msgstr "Lightbox"
65
+
66
+ #: lightbox-gallery.php:280
67
+ #@ lightbox-gallery
68
+ msgid "Highslide JS"
69
+ msgstr "Highslide JS"
70
+
71
+ #: lightbox-gallery.php:281
72
+ #, php-format
73
+ #@ lightbox-gallery
74
+ msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
75
+ msgstr "Upozornenie: Highslide JS patrí pod Creative Commons Attribution-NonCommercial 2.5 License. Ak chcete modul používať na komerčné účely, potrebujete povolenie autora. <a href=\"%s\" target=\"_blank\">Navštívte prosím stránku autora.</a>"
76
+
77
+ #: lightbox-gallery.php:284
78
+ #@ lightbox-gallery
79
+ msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
80
+ msgstr "V prípade, že chcete lightbox používať v určitých kategóriách (oddeľujte čiarkou)"
81
+
82
+ #: lightbox-gallery.php:288
83
+ #@ lightbox-gallery
84
+ msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
85
+ msgstr "V prípade, že chcete lightbox používať na určitých stránkach (oddeľujte čiarkou)"
86
+
87
+ #: lightbox-gallery.php:292
88
+ #@ lightbox-gallery
89
+ msgid "Enforce loading the lightbox gallery scripts"
90
+ msgstr "Vynútiť načítanie skriptov lightbox galérie"
91
+
92
+ #: lightbox-gallery.php:293
93
+ #@ lightbox-gallery
94
+ msgid "The lightbox gallery scripts are loaded in every page"
95
+ msgstr "Lightbox galérie sú načítané na každej stránke"
96
+
97
+ #: lightbox-gallery.php:296
98
+ #@ lightbox-gallery
99
+ msgid "Add rel=&quot;lightbox&quot; automatically in the post insert"
100
+ msgstr "Pridať rel=&quot;lightbox&quot; automaticky do príspevku"
101
+
102
+ #: lightbox-gallery.php:297
103
+ #@ lightbox-gallery
104
+ msgid "Do not forget to check the script enforcement option above with this"
105
+ msgstr "Skontrolujte či skript podporuje vynútené spustenie"
106
+
107
+ #: lightbox-gallery.php:300
108
+ #@ lightbox-gallery
109
+ msgid "In case that you would like to disable to load the lightbox-gallery.css"
110
+ msgstr "V prípade, že chcete vypnúť načítanie lightbox-gallery.css"
111
+
112
+ #: lightbox-gallery.php:301
113
+ #@ lightbox-gallery
114
+ msgid "Do not use the lightbox-gallery.css"
115
+ msgstr "Nepoužívať lightbox-gallery.css"
116
+
117
+ #: lightbox-gallery.php:304
118
+ #@ lightbox-gallery
119
+ msgid "In case that you would like to disable to load the column inline css"
120
+ msgstr "V prípade, že chcete zakázať načítanie vnútorného css stĺpca"
121
+
122
+ #: lightbox-gallery.php:305
123
+ #@ lightbox-gallery
124
+ msgid "Do not use the column inline css"
125
+ msgstr "Nepoužívať vnútorný css stĺpec"
126
+
127
+ #: lightbox-gallery.php:308
128
+ #@ lightbox-gallery
129
+ msgid "In case that you would like to set the default number of columns"
130
+ msgstr "V prípade, že chcete nastaviť predvolený počet stĺpcov"
131
+
132
+ #: lightbox-gallery.php:312
133
+ #@ lightbox-gallery
134
+ msgid "In case that you would like to set the default thumbnail size"
135
+ msgstr "V prípade, že chcete nastaviť predvolené rozlíšenie náhľadu"
136
+
137
+ #: lightbox-gallery.php:316
138
+ #@ lightbox-gallery
139
+ msgid "In case that you would like to set the default lightbox size"
140
+ msgstr "V prípade, že chcete nastaviť predvolenú veľkosť lightboxu"
141
+
142
+ #: lightbox-gallery.php:323
143
+ #@ lightbox-gallery
144
+ msgid "Choose the script loading point"
145
+ msgstr "Vyberte miesto čítania skriptu"
146
+
147
+ #: lightbox-gallery.php:324
148
+ #@ lightbox-gallery
149
+ msgid "Header"
150
+ msgstr "Hlavička"
151
+
152
+ #: lightbox-gallery.php:325
153
+ #@ lightbox-gallery
154
+ msgid "Footer"
155
+ msgstr "Pätička"
156
+
157
+ #: lightbox-gallery.php:328
158
+ #@ lightbox-gallery
159
+ msgid "Update Options &raquo;"
160
+ msgstr "Upraviť možnosti &raquo;"
161
+
162
+ #: lightbox-gallery.php:338
163
+ #@ lightbox-gallery
164
+ msgid "Delete Options"
165
+ msgstr "Vymazať možnosti"
166
+
167
+ #: lightbox-gallery.php:340
168
+ #@ lightbox-gallery
169
+ msgid "Are you sure to delete options? Options you set will be deleted."
170
+ msgstr "Naozaj chcete zmazať možnosti? Všetky, ktoré ste označili budú odstránené."
171
+
172
+ #: lightbox-gallery.php:344
173
+ #@ lightbox-gallery
174
+ msgid "Delete Options &raquo;"
175
+ msgstr "Zmazať možnosti &raquo;"
176
+
177
+ #: lightbox-gallery.php:356
178
+ #@ lightbox-gallery
179
+ msgid "Donation"
180
+ msgstr "Prispejte"
181
+
182
+ #: lightbox-gallery.php:358
183
+ #@ lightbox-gallery
184
+ msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
185
+ msgstr "Ak ste spokojný s modulom, pošlite prosím symbolickú čiastku cez PayPal! Každá suma sa cení a veľmi si vážime Vašu podporu."
186
+
187
+ #: lightbox-gallery.php:372
188
+ #@ lightbox-gallery
189
+ msgid "CMS x WP"
190
+ msgstr "CMS x WP"
191
+
192
+ #: lightbox-gallery.php:374
193
+ #@ lightbox-gallery
194
+ msgid "There are much more plugins which are useful for developing business websites such as membership sites or ec sites. You could totally treat WordPress as CMS by use of CMS x WP plugins."
195
+ msgstr "Existuje veľké množstvo ďalších modulov pre vyvíjanie biznis stránok. Wordpress môžte prestavať od základov použitím CMS x WP modulov."
196
+
197
+ #: lightbox-gallery.php:375
198
+ #@ lightbox-gallery
199
+ msgid "WordPress plugin sales site: CMS x WP"
200
+ msgstr "Obchod s WordPress modulmii: CMS x WP"
201
+
202
+ #: lightbox-gallery.php:449
203
+ #@ default
204
+ msgid "Pages:"
205
+ msgstr "Stránky"
206
+
207
+ #: lightbox-gallery.php:451
208
+ #@ default
209
+ msgid "Next page"
210
+ msgstr "Ďalšia stránka"
211
+
212
+ #: lightbox-gallery.php:452
213
+ #@ default
214
+ msgid "Previous page"
215
+ msgstr "Predošlá stránka"
216
+
217
+ #: lightbox-gallery.php:535
218
+ #@ lightbox-gallery
219
+ msgid "camera"
220
+ msgstr "fotoaparát"
221
+
222
+ #: lightbox-gallery.php:537
223
+ #@ lightbox-gallery
224
+ msgid "aperture"
225
+ msgstr "svetelnosť"
226
+
227
+ #: lightbox-gallery.php:539
228
+ #@ lightbox-gallery
229
+ msgid "focal_length"
230
+ msgstr "ohnisková_vzdialenosť"
231
+
232
+ #: lightbox-gallery.php:541
233
+ #@ lightbox-gallery
234
+ msgid "ISO"
235
+ msgstr "ISO"
236
+
237
+ #: lightbox-gallery.php:545
238
+ #@ lightbox-gallery
239
+ msgid "shutter_speed"
240
+ msgstr "rýchlosť_uzávierky"
241
+
242
+ #: lightbox-gallery.php:548
243
+ #@ lightbox-gallery
244
+ msgid "created_timestamp"
245
+ msgstr "časová_značka"
246
+
lightbox-gallery.css CHANGED
@@ -994,3 +994,89 @@ html>/**/body .highslide-gallery ul img {
994
  .highslide-thumbstrip-float .highslide-marker {
995
  display: none;
996
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
994
  .highslide-thumbstrip-float .highslide-marker {
995
  display: none;
996
  }
997
+
998
+ /*
999
+ ColorBox Core Style:
1000
+ The following CSS is consistent between example themes and should not be altered.
1001
+ */
1002
+ #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;line-height:1;}
1003
+ #cboxOverlay{position:fixed; width:100%; height:100%;}
1004
+ #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
1005
+ #cboxContent{position:relative;}
1006
+ #cboxLoadedContent{overflow:auto;}
1007
+ #cboxTitle{margin:0;}
1008
+ #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
1009
+ #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
1010
+ .cboxPhoto{float:left; margin:auto; border:0; display:block;}
1011
+ .cboxIframe{width:100%; height:100%; display:block; border:0;}
1012
+
1013
+ /*
1014
+ User Style:
1015
+ Change the following styles to modify the appearance of ColorBox. They are
1016
+ ordered & tabbed in a way that represents the nesting of the generated HTML.
1017
+ */
1018
+ #cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
1019
+ #colorbox{}
1020
+ #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}
1021
+ #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}
1022
+ #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}
1023
+ #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px -29px;}
1024
+ #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
1025
+ #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
1026
+ #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
1027
+ #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
1028
+ #cboxContent{background:#fff; overflow:hidden;}
1029
+ .cboxIframe{background:#fff;}
1030
+ #cboxError{padding:50px; border:1px solid #ccc;}
1031
+ #cboxLoadedContent{margin-bottom:28px;}
1032
+ #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
1033
+ #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
1034
+ #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
1035
+ #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
1036
+ #cboxPrevious:hover{background-position:-75px -25px;}
1037
+ #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
1038
+ #cboxNext:hover{background-position:-50px -25px;}
1039
+ #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
1040
+ #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
1041
+ #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
1042
+ #cboxClose:hover{background-position:-25px -25px;}
1043
+
1044
+ /*
1045
+ The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
1046
+ when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
1047
+ See: http://jacklmoore.com/notes/ie-transparency-problems/
1048
+ */
1049
+ .cboxIE #cboxTopLeft,
1050
+ .cboxIE #cboxTopCenter,
1051
+ .cboxIE #cboxTopRight,
1052
+ .cboxIE #cboxBottomLeft,
1053
+ .cboxIE #cboxBottomCenter,
1054
+ .cboxIE #cboxBottomRight,
1055
+ .cboxIE #cboxMiddleLeft,
1056
+ .cboxIE #cboxMiddleRight {
1057
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
1058
+ }
1059
+
1060
+ /*
1061
+ The following provides PNG transparency support for IE6
1062
+ Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
1063
+ */
1064
+ .cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
1065
+ .cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
1066
+ .cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
1067
+ .cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
1068
+ .cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
1069
+ .cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
1070
+ .cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
1071
+ .cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
1072
+
1073
+ .cboxIE6 #cboxTopLeft,
1074
+ .cboxIE6 #cboxTopCenter,
1075
+ .cboxIE6 #cboxTopRight,
1076
+ .cboxIE6 #cboxBottomLeft,
1077
+ .cboxIE6 #cboxBottomCenter,
1078
+ .cboxIE6 #cboxBottomRight,
1079
+ .cboxIE6 #cboxMiddleLeft,
1080
+ .cboxIE6 #cboxMiddleRight {
1081
+ _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
1082
+ }
lightbox-gallery.js CHANGED
@@ -1,4 +1,4 @@
1
- if ( typeof lightbox_path == "undefined" ) var lightbox_path = 'http://'+location.hostname+'/wp-content/plugins/lightbox-gallery/';
2
  if ( typeof hs != "undefined" ) {
3
  if ( typeof graphicsDir != "undefined" ) hs.graphicsDir = graphicsDir;
4
  else hs.graphicsDir = 'http://'+location.hostname+'/wp-content/plugins/lightbox-gallery/graphics/';
@@ -11,9 +11,13 @@ if ( typeof hs == "undefined" ) {
11
  // var i = 0;
12
  // showImg(i);
13
 
14
- jQuery('a[rel*=lightbox]').lightBox();
 
 
 
 
 
15
  jQuery('.gallery a').tooltip({track:true, delay:0, showURL: false});
16
- jQuery('.gallery1 a').lightBox({captionPosition:'gallery'});
17
 
18
  // Add these lines if you want to handle multiple galleries in one page.
19
  // You need to add into a [gallery] shorttag. ex) [gallery class="gallery2"]
1
+ if ( jQuery.lightBox && typeof lightbox_path == "undefined" ) var lightbox_path = 'http://'+location.hostname+'/wp-content/plugins/lightbox-gallery/';
2
  if ( typeof hs != "undefined" ) {
3
  if ( typeof graphicsDir != "undefined" ) hs.graphicsDir = graphicsDir;
4
  else hs.graphicsDir = 'http://'+location.hostname+'/wp-content/plugins/lightbox-gallery/graphics/';
11
  // var i = 0;
12
  // showImg(i);
13
 
14
+ if ( jQuery.lightBox ) {
15
+ jQuery('a[rel*=lightbox]').lightBox();
16
+ jQuery('.gallery1 a').lightBox({captionPosition:'gallery'});
17
+ } else if ( jQuery.colorbox ) {
18
+ jQuery('a[rel*=lightbox]').colorbox();
19
+ }
20
  jQuery('.gallery a').tooltip({track:true, delay:0, showURL: false});
 
21
 
22
  // Add these lines if you want to handle multiple galleries in one page.
23
  // You need to add into a [gallery] shorttag. ex) [gallery class="gallery2"]
lightbox-gallery.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Lightbox Gallery
4
  Plugin URI: http://wpgogo.com/development/lightbox-gallery.html
5
  Description: The Lightbox Gallery plugin changes the view of galleries to the lightbox.
6
  Author: Hiroaki Miyashita
7
- Version: 0.6.8
8
  Author URI: http://wpgogo.com/
9
  */
10
 
@@ -25,7 +25,7 @@ Author URI: http://wpgogo.com/
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
 
28
- add_action( 'init', 'lightbox_gallery_textdomain' );
29
  add_action( 'wp_head', 'lightbox_gallery_wp_head' );
30
  add_action( 'wp_print_scripts', 'lightbox_gallery_wp_print_scripts' );
31
  add_action( 'wp_print_scripts', 'lightbox_gallery_print_path_header', 1 );
@@ -35,7 +35,7 @@ add_action( 'admin_menu', 'lightbox_gallery_admin_menu' );
35
  add_filter( 'media_send_to_editor', 'lightbox_gallery_media_send_to_editor', 11 );
36
  add_shortcode( 'gallery', 'lightbox_gallery' );
37
 
38
- function lightbox_gallery_textdomain() {
39
  if ( function_exists('load_plugin_textdomain') ) {
40
  if ( !defined('WP_PLUGIN_DIR') ) {
41
  load_plugin_textdomain('lightbox-gallery', str_replace( ABSPATH, '', dirname(__FILE__) ) );
@@ -43,6 +43,17 @@ function lightbox_gallery_textdomain() {
43
  load_plugin_textdomain('lightbox-gallery', false, dirname( plugin_basename(__FILE__) ) );
44
  }
45
  }
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
 
48
  function lightbox_gallery_wp_head() {
@@ -150,17 +161,27 @@ function lightbox_gallery_wp_print_scripts() {
150
  endif;
151
 
152
  if ( !is_admin() && $flag ) :
 
153
  wp_enqueue_script( 'jquery' );
154
- if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' && file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js') ) :
155
- wp_enqueue_script( 'highslide', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js', false, '', $in_footer );
156
- else :
 
 
 
 
 
 
 
 
 
157
  wp_enqueue_script( 'dimensions', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.dimensions.js', array('jquery'), '', $in_footer );
158
  wp_enqueue_script( 'bgiframe', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.bgiframe.js', array('jquery'), '', $in_footer ) ;
159
- wp_enqueue_script( 'lightbox', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js', array('jquery'), '', $in_footer );
160
- wp_enqueue_script( 'tooltip', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.tooltip.js', array('jquery'), '', $in_footer );
161
  endif;
162
- if (@file_exists(TEMPLATEPATH.'/lightbox-gallery.js')) :
163
- $template = get_template();
164
  wp_enqueue_script( 'lightbox-gallery', '/wp-content/themes/' . $template . '/lightbox-gallery.js', array('jquery'), '', $in_footer );
165
  else :
166
  wp_enqueue_script( 'lightbox-gallery', '/' . PLUGINDIR . '/' . $plugin_dir . '/lightbox-gallery.js', array('jquery'), '', $in_footer );
@@ -178,7 +199,7 @@ function lightbox_gallery_print_path_header() {
178
  echo '// <![CDATA['."\n";
179
  if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
180
  echo 'var graphicsDir = "'.get_option('siteurl').'/wp-content/plugins/lightbox-gallery/graphics/";'."\n";
181
- else :
182
  echo 'var lightbox_path = "'.get_option('siteurl').'/wp-content/plugins/lightbox-gallery/";'."\n";
183
  endif;
184
  echo '// ]]>'."\n";
@@ -196,7 +217,7 @@ function lightbox_gallery_print_path_footer() {
196
  echo '// <![CDATA['."\n";
197
  if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
198
  echo 'var graphicsDir = "'.get_option('siteurl').'/wp-content/plugins/lightbox-gallery/graphics/";'."\n";
199
- else :
200
  echo 'var lightbox_path = "'.get_option('siteurl').'/wp-content/plugins/lightbox-gallery/";'."\n";
201
  endif;
202
  echo '// ]]>'."\n";
@@ -246,6 +267,19 @@ function lightbox_gallery_admin() {
246
  delete_option('lightbox_gallery_data');
247
  $options = get_option('lightbox_gallery_data');
248
  $message = __('Options deleted.', 'lightbox-gallery');
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  endif;
250
 
251
  if ( !defined('WP_PLUGIN_DIR') )
@@ -276,16 +310,31 @@ function lightbox_gallery_admin() {
276
  if ( !isset($options['global_settings']['lightbox_gallery_loading_type']) ) $options['global_settings']['lightbox_gallery_loading_type'] = 'lightbox';
277
  ?>
278
  <p><label for="lightbox_gallery_loading_type"><?php _e('Choose the gallery loading type', 'lightbox-gallery'); ?></label>:<br />
279
- <input type="radio" name="lightbox_gallery_loading_type" id="lightbox_gallery_loading_type" value="lightbox"<?php checked('lightbox', $options['global_settings']['lightbox_gallery_loading_type']); ?> /> <?php _e('Lightbox', 'lightbox-gallery'); ?>
 
 
 
 
 
 
 
 
 
 
280
  <?php
281
- if ( file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js') ) :
 
282
  ?>
283
- <br /><input type="radio" name="lightbox_gallery_loading_type" id="lightbox_gallery_loading_type" value="highslide"<?php checked('highslide', $options['global_settings']['lightbox_gallery_loading_type']); ?> /> <?php _e('Highslide JS', 'lightbox-gallery'); ?><br />
284
- <?php echo sprintf(__('Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author\'s permission to use Highslide JS on commercial websites. <a href="%s" target="_blank">Please look at the author\'s website.</a>', 'lightbox-gallery'), 'http://highslide.com/'); ?>
 
 
285
  <?php
286
  else :
287
  ?>
288
- <br /><?php echo sprintf(__('You can change the lightbox view to the highslide. Just <a href="%s" target="_blank">download</a> the highslide script and put `highslide.js` into `/lightbox-gallery/js/` and `graphics` directory into `/lightbox-gallery/`.', 'lightbox-gallery'), 'http://highslide.com/'); ?>
 
 
289
  <?php
290
  endif;
291
  ?>
@@ -362,6 +411,22 @@ function lightbox_gallery_admin() {
362
  </div>
363
 
364
  <div style="width:24%; float:right;">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
365
  <div class="postbox" style="min-width:200px;">
366
  <div class="handlediv" title="<?php _e('Click to toggle', 'lightbox-gallery'); ?>"><br /></div>
367
  <h3><?php _e('Donation', 'lightbox-gallery'); ?></h3>
@@ -519,7 +584,7 @@ function lightbox_gallery($attr) {
519
 
520
  $output = apply_filters('gallery_style', $column_css."<div class='gallery {$class}'>");
521
 
522
- if ( $class && $options['global_settings']['lightbox_gallery_loading_type'] != 'highslide' ) :
523
  $output .= '<script type="text/javascript">
524
  // <![CDATA[
525
  jQuery(document).ready(function () {
@@ -527,8 +592,17 @@ function lightbox_gallery($attr) {
527
  });
528
  // ]]>
529
  </script>'."\n";
 
530
 
531
-
 
 
 
 
 
 
 
 
532
  endif;
533
 
534
  $i = 0;
@@ -565,6 +639,8 @@ function lightbox_gallery($attr) {
565
  if ( $nofollow == "true" ) $output .= ' rel="nofollow"';
566
  if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
567
  $output .= ' class="highslide" onclick="return hs.expand(this,{captionId:'."'caption".$attachment->ID."'".'})"';
 
 
568
  endif;
569
  $output .= '><img src="'.$thumbnail_link[0].'" width="'.$thumbnail_link[1].'" height="'.$thumbnail_link[2].'" alt="'.esc_attr($attachment->post_excerpt).'" /></a>
570
  </'.$icontag.'>';
4
  Plugin URI: http://wpgogo.com/development/lightbox-gallery.html
5
  Description: The Lightbox Gallery plugin changes the view of galleries to the lightbox.
6
  Author: Hiroaki Miyashita
7
+ Version: 0.7
8
  Author URI: http://wpgogo.com/
9
  */
10
 
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
 
28
+ add_action( 'init', 'lightbox_gallery_init' );
29
  add_action( 'wp_head', 'lightbox_gallery_wp_head' );
30
  add_action( 'wp_print_scripts', 'lightbox_gallery_wp_print_scripts' );
31
  add_action( 'wp_print_scripts', 'lightbox_gallery_print_path_header', 1 );
35
  add_filter( 'media_send_to_editor', 'lightbox_gallery_media_send_to_editor', 11 );
36
  add_shortcode( 'gallery', 'lightbox_gallery' );
37
 
38
+ function lightbox_gallery_init() {
39
  if ( function_exists('load_plugin_textdomain') ) {
40
  if ( !defined('WP_PLUGIN_DIR') ) {
41
  load_plugin_textdomain('lightbox-gallery', str_replace( ABSPATH, '', dirname(__FILE__) ) );
43
  load_plugin_textdomain('lightbox-gallery', false, dirname( plugin_basename(__FILE__) ) );
44
  }
45
  }
46
+
47
+ if ( !defined('WP_PLUGIN_DIR') )
48
+ $plugin_dir = str_replace( ABSPATH, '', dirname(__FILE__) );
49
+ else
50
+ $plugin_dir = dirname( plugin_basename(__FILE__) );
51
+
52
+ $options = get_option('lightbox_gallery_data');
53
+ if ( empty($options['global_settings']['lightbox_gallery_loading_type']) || ( $options['global_settings']['lightbox_gallery_loading_type']=='lightbox' && !file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js')) ) :
54
+ $options['global_settings']['lightbox_gallery_loading_type'] = 'colorbox';
55
+ update_option('lightbox_gallery_data', $options);
56
+ endif;
57
  }
58
 
59
  function lightbox_gallery_wp_head() {
161
  endif;
162
 
163
  if ( !is_admin() && $flag ) :
164
+ $template = get_template();
165
  wp_enqueue_script( 'jquery' );
166
+ if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
167
+ if ( file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js') ) :
168
+ wp_enqueue_script( 'highslide', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js', false, '', $in_footer );
169
+ elseif ( file_exists(TEMPLATEPATH.'/highslide.js') ) :
170
+ wp_enqueue_script( 'highslide', WP_CONTENT_DIR . '/themes/' . $template . '/highslide.js', array('jquery'), '', $in_footer );
171
+ endif;
172
+ elseif ( $options['global_settings']['lightbox_gallery_loading_type'] == 'lightbox' ) :
173
+ if ( file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js') ) :
174
+ wp_enqueue_script( 'lightbox', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js', array('jquery'), '', $in_footer );
175
+ elseif ( file_exists(TEMPLATEPATH.'/jquery.lightbox.js') ) :
176
+ wp_enqueue_script( 'lightbox', WP_CONTENT_DIR . '/themes/' . $template . '/jquery.lightbox.js', array('jquery'), '', $in_footer );
177
+ endif;
178
  wp_enqueue_script( 'dimensions', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.dimensions.js', array('jquery'), '', $in_footer );
179
  wp_enqueue_script( 'bgiframe', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.bgiframe.js', array('jquery'), '', $in_footer ) ;
180
+ else :
181
+ wp_enqueue_script( 'colorbox', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.colorbox.js', array('jquery'), '', $in_footer );
182
  endif;
183
+ wp_enqueue_script( 'tooltip', '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.tooltip.js', array('jquery'), '', $in_footer );
184
+ if ( @file_exists(TEMPLATEPATH.'/lightbox-gallery.js') ) :
185
  wp_enqueue_script( 'lightbox-gallery', '/wp-content/themes/' . $template . '/lightbox-gallery.js', array('jquery'), '', $in_footer );
186
  else :
187
  wp_enqueue_script( 'lightbox-gallery', '/' . PLUGINDIR . '/' . $plugin_dir . '/lightbox-gallery.js', array('jquery'), '', $in_footer );
199
  echo '// <![CDATA['."\n";
200
  if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
201
  echo 'var graphicsDir = "'.get_option('siteurl').'/wp-content/plugins/lightbox-gallery/graphics/";'."\n";
202
+ elseif ( $options['global_settings']['lightbox_gallery_loading_type'] == 'lightbox' ) :
203
  echo 'var lightbox_path = "'.get_option('siteurl').'/wp-content/plugins/lightbox-gallery/";'."\n";
204
  endif;
205
  echo '// ]]>'."\n";
217
  echo '// <![CDATA['."\n";
218
  if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
219
  echo 'var graphicsDir = "'.get_option('siteurl').'/wp-content/plugins/lightbox-gallery/graphics/";'."\n";
220
+ elseif ( $options['global_settings']['lightbox_gallery_loading_type'] == 'lightbox' ) :
221
  echo 'var lightbox_path = "'.get_option('siteurl').'/wp-content/plugins/lightbox-gallery/";'."\n";
222
  endif;
223
  echo '// ]]>'."\n";
267
  delete_option('lightbox_gallery_data');
268
  $options = get_option('lightbox_gallery_data');
269
  $message = __('Options deleted.', 'lightbox-gallery');
270
+ elseif ( !empty($_POST['lightbox_gallery_script_auto_download_submit']) ) :
271
+ if ( !defined('WP_PLUGIN_DIR') )
272
+ $plugin_dir = str_replace( ABSPATH, '', dirname(__FILE__) );
273
+ else
274
+ $plugin_dir = dirname( plugin_basename(__FILE__) );
275
+
276
+ $lightbox = @file_get_contents('http://wpgogo.com/jquery.lightbox.js');
277
+ $highslide = @file_get_contents('http://wpgogo.com/highslide.js');
278
+ if ( !empty($lightbox) && !empty($highslide) && file_put_contents(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js', $lightbox) && file_put_contents(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js', $highslide) ) :
279
+ $message = __('Scripts downloaded.', 'lightbox-gallery');
280
+ else :
281
+ $message = __('Download failed.', 'lightbox-gallery');
282
+ endif;
283
  endif;
284
 
285
  if ( !defined('WP_PLUGIN_DIR') )
310
  if ( !isset($options['global_settings']['lightbox_gallery_loading_type']) ) $options['global_settings']['lightbox_gallery_loading_type'] = 'lightbox';
311
  ?>
312
  <p><label for="lightbox_gallery_loading_type"><?php _e('Choose the gallery loading type', 'lightbox-gallery'); ?></label>:<br />
313
+ <input type="radio" name="lightbox_gallery_loading_type" id="lightbox_gallery_loading_type" value="colorbox"<?php checked('colorbox', $options['global_settings']['lightbox_gallery_loading_type']); ?> /> <?php _e('Colorbox', 'lightbox-gallery'); ?><br />
314
+ <?php
315
+ if ( file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js') || file_exists(TEMPLATEPATH.'/jquery.lightbox.js') ) :
316
+ ?>
317
+ <input type="radio" name="lightbox_gallery_loading_type" id="lightbox_gallery_loading_type" value="lightbox"<?php checked('lightbox', $options['global_settings']['lightbox_gallery_loading_type']); ?> /> <?php _e('Lightbox', 'lightbox-gallery'); ?><br />
318
+ <?php
319
+ else :
320
+ ?>
321
+ <ul style="list-style-type:disc; padding-left:1.2em;">
322
+ <li><?php echo sprintf(__('Due to the license regulation by the plugin directory, it is impossible to include `jquery.lightbox.js`. Just <a href="%s" target="_blank">download</a> the lightbox script and put `jquery.lightbox.js` into `/lightbox-gallery/js/`.', 'lightbox-gallery'), 'http://wpgogo.com/jquery.lightbox.js'); ?></li>
323
+ </ul>
324
  <?php
325
+ endif;
326
+ if ( file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js') || file_exists(TEMPLATEPATH.'/highslide.js') ) :
327
  ?>
328
+ <input type="radio" name="lightbox_gallery_loading_type" id="lightbox_gallery_loading_type" value="highslide"<?php checked('highslide', $options['global_settings']['lightbox_gallery_loading_type']); ?> /> <?php _e('Highslide JS', 'lightbox-gallery'); ?><br />
329
+ <ul style="list-style-type:disc; padding-left:1.2em;">
330
+ <li><?php echo sprintf(__('Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author\'s permission to use Highslide JS on commercial websites. <a href="%s" target="_blank">Please look at the author\'s website.</a>', 'lightbox-gallery'), 'http://highslide.com/'); ?></li>
331
+ </ul>
332
  <?php
333
  else :
334
  ?>
335
+ <ul style="list-style-type:disc; padding-left:1.2em;">
336
+ <li><?php echo sprintf(__('You can change the lightbox view to the highslide. Just <a href="%s" target="_blank">download</a> the highslide script and put `highslide.js` into `/lightbox-gallery/js/`.', 'lightbox-gallery'), 'http://wpgogo.com/highslide.js'); ?></li>
337
+ </ul>
338
  <?php
339
  endif;
340
  ?>
411
  </div>
412
 
413
  <div style="width:24%; float:right;">
414
+ <?php
415
+ if ( (!file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/jquery.lightbox.js') && !file_exists(TEMPLATEPATH.'/jquery.lightbox.js')) || (!file_exists(ABSPATH . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/highslide.js') && !file_exists(TEMPLATEPATH.'/highslide.js')) ) :
416
+ ?>
417
+ <div class="postbox" style="min-width:200px;">
418
+ <div class="handlediv" title="<?php _e('Click to toggle', 'lightbox-gallery'); ?>"><br /></div>
419
+ <h3><?php _e('Script Auto Download', 'lightbox-gallery'); ?></h3>
420
+ <div class="inside">
421
+ <p><?php _e('Just push the button and `jquery.lightbox.js` and `highslide.js` will be downloaded automatically.', 'lightbox-gallery'); ?></p>
422
+ <form method="post">
423
+ <p><input type="submit" name="lightbox_gallery_script_auto_download_submit" value="<?php _e('Download Scripts &raquo;', 'lightbox-gallery'); ?>" class="button-primary" /></p>
424
+ </div>
425
+ </div>
426
+ <?php
427
+ endif;
428
+ ?>
429
+
430
  <div class="postbox" style="min-width:200px;">
431
  <div class="handlediv" title="<?php _e('Click to toggle', 'lightbox-gallery'); ?>"><br /></div>
432
  <h3><?php _e('Donation', 'lightbox-gallery'); ?></h3>
584
 
585
  $output = apply_filters('gallery_style', $column_css."<div class='gallery {$class}'>");
586
 
587
+ if ( $class && $options['global_settings']['lightbox_gallery_loading_type'] == 'lightbox' ) :
588
  $output .= '<script type="text/javascript">
589
  // <![CDATA[
590
  jQuery(document).ready(function () {
592
  });
593
  // ]]>
594
  </script>'."\n";
595
+ endif;
596
 
597
+ if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'colorbox') :
598
+ $output .= '<script type="text/javascript">
599
+ // <![CDATA[
600
+ jQuery(document).ready(function () {
601
+ jQuery(".'.$class.' a").attr("rel","'.$class.'");
602
+ jQuery(\'a[rel="'.$class.'"]\').colorbox({title: function(){ return jQuery(this).children().attr("alt"); }});
603
+ });
604
+ // ]]>
605
+ </script>'."\n";
606
  endif;
607
 
608
  $i = 0;
639
  if ( $nofollow == "true" ) $output .= ' rel="nofollow"';
640
  if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
641
  $output .= ' class="highslide" onclick="return hs.expand(this,{captionId:'."'caption".$attachment->ID."'".'})"';
642
+ elseif ( $options['global_settings']['lightbox_gallery_loading_type'] == 'colorbox' ) :
643
+ $output .= ' rel="'.$class.'"';
644
  endif;
645
  $output .= '><img src="'.$thumbnail_link[0].'" width="'.$thumbnail_link[1].'" height="'.$thumbnail_link[2].'" alt="'.esc_attr($attachment->post_excerpt).'" /></a>
646
  </'.$icontag.'>';
lightbox-gallery.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-02-21 14:48+0900\n"
6
- "PO-Revision-Date: 2012-02-21 14:48+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -13,189 +13,219 @@ msgstr ""
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
15
 
16
- #: lightbox-gallery/lightbox-gallery.php:213
17
  msgid "Settings"
18
  msgstr ""
19
 
20
- #: lightbox-gallery/lightbox-gallery.php:228
21
- #: lightbox-gallery/lightbox-gallery.php:261
22
  msgid "Lightbox Gallery"
23
  msgstr ""
24
 
25
- #: lightbox-gallery/lightbox-gallery.php:244
26
  msgid "Options updated."
27
  msgstr ""
28
 
29
- #: lightbox-gallery/lightbox-gallery.php:248
30
  msgid "Options deleted."
31
  msgstr ""
32
 
33
- #: lightbox-gallery/lightbox-gallery.php:268
34
- #: lightbox-gallery/lightbox-gallery.php:348
35
- #: lightbox-gallery/lightbox-gallery.php:366
36
- #: lightbox-gallery/lightbox-gallery.php:382
 
 
 
 
 
 
 
 
 
37
  msgid "Click to toggle"
38
  msgstr ""
39
 
40
- #: lightbox-gallery/lightbox-gallery.php:269
41
  msgid "Lightbox Gallery Options"
42
  msgstr ""
43
 
44
- #: lightbox-gallery/lightbox-gallery.php:278
45
  msgid "Choose the gallery loading type"
46
  msgstr ""
47
 
48
- #: lightbox-gallery/lightbox-gallery.php:279
 
 
 
 
49
  msgid "Lightbox"
50
  msgstr ""
51
 
52
- #: lightbox-gallery/lightbox-gallery.php:283
 
 
 
 
 
53
  msgid "Highslide JS"
54
  msgstr ""
55
 
56
- #: lightbox-gallery/lightbox-gallery.php:284
57
  #, php-format
58
  msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
59
  msgstr ""
60
 
61
- #: lightbox-gallery/lightbox-gallery.php:288
62
  #, php-format
63
- msgid "You can change the lightbox view to the highslide. Just <a href=\"%s\" target=\"_blank\">download</a> the highslide script and put `highslide.js` into `/lightbox-gallery/js/` and `graphics` directory into `/lightbox-gallery/`."
64
  msgstr ""
65
 
66
- #: lightbox-gallery/lightbox-gallery.php:295
67
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
68
  msgstr ""
69
 
70
- #: lightbox-gallery/lightbox-gallery.php:299
71
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
72
  msgstr ""
73
 
74
- #: lightbox-gallery/lightbox-gallery.php:303
75
  msgid "Enforce loading the lightbox gallery scripts"
76
  msgstr ""
77
 
78
- #: lightbox-gallery/lightbox-gallery.php:304
79
  msgid "The lightbox gallery scripts are loaded in every page"
80
  msgstr ""
81
 
82
- #: lightbox-gallery/lightbox-gallery.php:307
83
  msgid "Add rel=&quot;lightbox&quot; automatically in the post insert"
84
  msgstr ""
85
 
86
- #: lightbox-gallery/lightbox-gallery.php:308
87
  msgid "Do not forget to check the script enforcement option above with this"
88
  msgstr ""
89
 
90
- #: lightbox-gallery/lightbox-gallery.php:311
91
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
92
  msgstr ""
93
 
94
- #: lightbox-gallery/lightbox-gallery.php:312
95
  msgid "Do not use the lightbox-gallery.css"
96
  msgstr ""
97
 
98
- #: lightbox-gallery/lightbox-gallery.php:315
99
  msgid "In case that you would like to disable to load the column inline css"
100
  msgstr ""
101
 
102
- #: lightbox-gallery/lightbox-gallery.php:316
103
  msgid "Do not use the column inline css"
104
  msgstr ""
105
 
106
- #: lightbox-gallery/lightbox-gallery.php:319
107
  msgid "In case that you would like to set the default number of columns"
108
  msgstr ""
109
 
110
- #: lightbox-gallery/lightbox-gallery.php:323
111
  msgid "In case that you would like to set the default thumbnail size"
112
  msgstr ""
113
 
114
- #: lightbox-gallery/lightbox-gallery.php:327
115
  msgid "In case that you would like to set the default lightbox size"
116
  msgstr ""
117
 
118
- #: lightbox-gallery/lightbox-gallery.php:334
119
  msgid "Choose the script loading point"
120
  msgstr ""
121
 
122
- #: lightbox-gallery/lightbox-gallery.php:335
123
  msgid "Header"
124
  msgstr ""
125
 
126
- #: lightbox-gallery/lightbox-gallery.php:336
127
  msgid "Footer"
128
  msgstr ""
129
 
130
- #: lightbox-gallery/lightbox-gallery.php:339
131
  msgid "Update Options &raquo;"
132
  msgstr ""
133
 
134
- #: lightbox-gallery/lightbox-gallery.php:349
135
  msgid "Delete Options"
136
  msgstr ""
137
 
138
- #: lightbox-gallery/lightbox-gallery.php:351
139
  msgid "Are you sure to delete options? Options you set will be deleted."
140
  msgstr ""
141
 
142
- #: lightbox-gallery/lightbox-gallery.php:355
143
  msgid "Delete Options &raquo;"
144
  msgstr ""
145
 
146
- #: lightbox-gallery/lightbox-gallery.php:367
 
 
 
 
 
 
 
 
 
 
 
 
147
  msgid "Donation"
148
  msgstr ""
149
 
150
- #: lightbox-gallery/lightbox-gallery.php:369
151
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
152
  msgstr ""
153
 
154
- #: lightbox-gallery/lightbox-gallery.php:383
155
  msgid "CMS x WP"
156
  msgstr ""
157
 
158
- #: lightbox-gallery/lightbox-gallery.php:385
159
  msgid "There are much more plugins which are useful for developing business websites such as membership sites or ec sites. You could totally treat WordPress as CMS by use of CMS x WP plugins."
160
  msgstr ""
161
 
162
- #: lightbox-gallery/lightbox-gallery.php:386
163
  msgid "WordPress plugin sales site: CMS x WP"
164
  msgstr ""
165
 
166
- #: lightbox-gallery/lightbox-gallery.php:460
167
  msgid "Pages:"
168
  msgstr ""
169
 
170
- #: lightbox-gallery/lightbox-gallery.php:462
171
  msgid "Next page"
172
  msgstr ""
173
 
174
- #: lightbox-gallery/lightbox-gallery.php:463
175
  msgid "Previous page"
176
  msgstr ""
177
 
178
- #: lightbox-gallery/lightbox-gallery.php:546
179
  msgid "camera"
180
  msgstr ""
181
 
182
- #: lightbox-gallery/lightbox-gallery.php:548
183
  msgid "aperture"
184
  msgstr ""
185
 
186
- #: lightbox-gallery/lightbox-gallery.php:550
187
  msgid "focal_length"
188
  msgstr ""
189
 
190
- #: lightbox-gallery/lightbox-gallery.php:552
191
  msgid "ISO"
192
  msgstr ""
193
 
194
- #: lightbox-gallery/lightbox-gallery.php:556
195
  msgid "shutter_speed"
196
  msgstr ""
197
 
198
- #: lightbox-gallery/lightbox-gallery.php:559
199
  msgid "created_timestamp"
200
  msgstr ""
201
 
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-04-28 02:23+0900\n"
6
+ "PO-Revision-Date: 2012-04-28 02:23+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
15
 
16
+ #: lightbox-gallery/lightbox-gallery.php:234
17
  msgid "Settings"
18
  msgstr ""
19
 
20
+ #: lightbox-gallery/lightbox-gallery.php:249
21
+ #: lightbox-gallery/lightbox-gallery.php:295
22
  msgid "Lightbox Gallery"
23
  msgstr ""
24
 
25
+ #: lightbox-gallery/lightbox-gallery.php:265
26
  msgid "Options updated."
27
  msgstr ""
28
 
29
+ #: lightbox-gallery/lightbox-gallery.php:269
30
  msgid "Options deleted."
31
  msgstr ""
32
 
33
+ #: lightbox-gallery/lightbox-gallery.php:279
34
+ msgid "Scripts downloaded."
35
+ msgstr ""
36
+
37
+ #: lightbox-gallery/lightbox-gallery.php:281
38
+ msgid "Download failed."
39
+ msgstr ""
40
+
41
+ #: lightbox-gallery/lightbox-gallery.php:302
42
+ #: lightbox-gallery/lightbox-gallery.php:397
43
+ #: lightbox-gallery/lightbox-gallery.php:418
44
+ #: lightbox-gallery/lightbox-gallery.php:431
45
+ #: lightbox-gallery/lightbox-gallery.php:447
46
  msgid "Click to toggle"
47
  msgstr ""
48
 
49
+ #: lightbox-gallery/lightbox-gallery.php:303
50
  msgid "Lightbox Gallery Options"
51
  msgstr ""
52
 
53
+ #: lightbox-gallery/lightbox-gallery.php:312
54
  msgid "Choose the gallery loading type"
55
  msgstr ""
56
 
57
+ #: lightbox-gallery/lightbox-gallery.php:313
58
+ msgid "Colorbox"
59
+ msgstr ""
60
+
61
+ #: lightbox-gallery/lightbox-gallery.php:317
62
  msgid "Lightbox"
63
  msgstr ""
64
 
65
+ #: lightbox-gallery/lightbox-gallery.php:322
66
+ #, php-format
67
+ msgid "Due to the license regulation by the plugin directory, it is impossible to include `jquery.lightbox.js`. Just <a href=\"%s\" target=\"_blank\">download</a> the lightbox script and put `jquery.lightbox.js` into `/lightbox-gallery/js/`."
68
+ msgstr ""
69
+
70
+ #: lightbox-gallery/lightbox-gallery.php:328
71
  msgid "Highslide JS"
72
  msgstr ""
73
 
74
+ #: lightbox-gallery/lightbox-gallery.php:330
75
  #, php-format
76
  msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
77
  msgstr ""
78
 
79
+ #: lightbox-gallery/lightbox-gallery.php:336
80
  #, php-format
81
+ msgid "You can change the lightbox view to the highslide. Just <a href=\"%s\" target=\"_blank\">download</a> the highslide script and put `highslide.js` into `/lightbox-gallery/js/`."
82
  msgstr ""
83
 
84
+ #: lightbox-gallery/lightbox-gallery.php:344
85
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
86
  msgstr ""
87
 
88
+ #: lightbox-gallery/lightbox-gallery.php:348
89
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
90
  msgstr ""
91
 
92
+ #: lightbox-gallery/lightbox-gallery.php:352
93
  msgid "Enforce loading the lightbox gallery scripts"
94
  msgstr ""
95
 
96
+ #: lightbox-gallery/lightbox-gallery.php:353
97
  msgid "The lightbox gallery scripts are loaded in every page"
98
  msgstr ""
99
 
100
+ #: lightbox-gallery/lightbox-gallery.php:356
101
  msgid "Add rel=&quot;lightbox&quot; automatically in the post insert"
102
  msgstr ""
103
 
104
+ #: lightbox-gallery/lightbox-gallery.php:357
105
  msgid "Do not forget to check the script enforcement option above with this"
106
  msgstr ""
107
 
108
+ #: lightbox-gallery/lightbox-gallery.php:360
109
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
110
  msgstr ""
111
 
112
+ #: lightbox-gallery/lightbox-gallery.php:361
113
  msgid "Do not use the lightbox-gallery.css"
114
  msgstr ""
115
 
116
+ #: lightbox-gallery/lightbox-gallery.php:364
117
  msgid "In case that you would like to disable to load the column inline css"
118
  msgstr ""
119
 
120
+ #: lightbox-gallery/lightbox-gallery.php:365
121
  msgid "Do not use the column inline css"
122
  msgstr ""
123
 
124
+ #: lightbox-gallery/lightbox-gallery.php:368
125
  msgid "In case that you would like to set the default number of columns"
126
  msgstr ""
127
 
128
+ #: lightbox-gallery/lightbox-gallery.php:372
129
  msgid "In case that you would like to set the default thumbnail size"
130
  msgstr ""
131
 
132
+ #: lightbox-gallery/lightbox-gallery.php:376
133
  msgid "In case that you would like to set the default lightbox size"
134
  msgstr ""
135
 
136
+ #: lightbox-gallery/lightbox-gallery.php:383
137
  msgid "Choose the script loading point"
138
  msgstr ""
139
 
140
+ #: lightbox-gallery/lightbox-gallery.php:384
141
  msgid "Header"
142
  msgstr ""
143
 
144
+ #: lightbox-gallery/lightbox-gallery.php:385
145
  msgid "Footer"
146
  msgstr ""
147
 
148
+ #: lightbox-gallery/lightbox-gallery.php:388
149
  msgid "Update Options &raquo;"
150
  msgstr ""
151
 
152
+ #: lightbox-gallery/lightbox-gallery.php:398
153
  msgid "Delete Options"
154
  msgstr ""
155
 
156
+ #: lightbox-gallery/lightbox-gallery.php:400
157
  msgid "Are you sure to delete options? Options you set will be deleted."
158
  msgstr ""
159
 
160
+ #: lightbox-gallery/lightbox-gallery.php:404
161
  msgid "Delete Options &raquo;"
162
  msgstr ""
163
 
164
+ #: lightbox-gallery/lightbox-gallery.php:419
165
+ msgid "Script Auto Download"
166
+ msgstr ""
167
+
168
+ #: lightbox-gallery/lightbox-gallery.php:421
169
+ msgid "Just push the button and `jquery.lightbox.js` and `highslide.js` will be downloaded automatically."
170
+ msgstr ""
171
+
172
+ #: lightbox-gallery/lightbox-gallery.php:423
173
+ msgid "Download Scripts &raquo;"
174
+ msgstr ""
175
+
176
+ #: lightbox-gallery/lightbox-gallery.php:432
177
  msgid "Donation"
178
  msgstr ""
179
 
180
+ #: lightbox-gallery/lightbox-gallery.php:434
181
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
182
  msgstr ""
183
 
184
+ #: lightbox-gallery/lightbox-gallery.php:448
185
  msgid "CMS x WP"
186
  msgstr ""
187
 
188
+ #: lightbox-gallery/lightbox-gallery.php:450
189
  msgid "There are much more plugins which are useful for developing business websites such as membership sites or ec sites. You could totally treat WordPress as CMS by use of CMS x WP plugins."
190
  msgstr ""
191
 
192
+ #: lightbox-gallery/lightbox-gallery.php:451
193
  msgid "WordPress plugin sales site: CMS x WP"
194
  msgstr ""
195
 
196
+ #: lightbox-gallery/lightbox-gallery.php:525
197
  msgid "Pages:"
198
  msgstr ""
199
 
200
+ #: lightbox-gallery/lightbox-gallery.php:527
201
  msgid "Next page"
202
  msgstr ""
203
 
204
+ #: lightbox-gallery/lightbox-gallery.php:528
205
  msgid "Previous page"
206
  msgstr ""
207
 
208
+ #: lightbox-gallery/lightbox-gallery.php:620
209
  msgid "camera"
210
  msgstr ""
211
 
212
+ #: lightbox-gallery/lightbox-gallery.php:622
213
  msgid "aperture"
214
  msgstr ""
215
 
216
+ #: lightbox-gallery/lightbox-gallery.php:624
217
  msgid "focal_length"
218
  msgstr ""
219
 
220
+ #: lightbox-gallery/lightbox-gallery.php:626
221
  msgid "ISO"
222
  msgstr ""
223
 
224
+ #: lightbox-gallery/lightbox-gallery.php:630
225
  msgid "shutter_speed"
226
  msgstr ""
227
 
228
+ #: lightbox-gallery/lightbox-gallery.php:633
229
  msgid "created_timestamp"
230
  msgstr ""
231
 
readme.txt CHANGED
@@ -1,15 +1,18 @@
1
  === Lightbox Gallery ===
2
  Contributors: Hiroaki Miyashita
3
  Donate link: http://wpgogo.com/development/lightbox-gallery.html
4
- Tags: lightbox, gallery, image, images, album, photo, photos, picture, pictures, jQuery, Highslide
5
  Requires at least: 2.5
6
- Tested up to: 3.3.1
7
- Stable tag: 0.6.8
8
 
9
  The Lightbox Gallery plugin changes the view of galleries to the lightbox.
10
 
11
  == Description ==
12
 
 
 
 
13
  The Lightbox Gallery plugin changes the view of galleries to the lightbox.
14
 
15
  * Lightbox display of Gallery
@@ -39,6 +42,7 @@ Localization
39
  * Polish (pl_PL) - Otmar
40
  * Romanian (ro_RO) - [Anunturi Jibo](http://www.jibo.ro/)
41
  * Russian (ru_RU) - [Fat Cow](http://www.fatcow.com/)
 
42
  * Swedish (sv_SE) - [Anders Martensson](http://nemrod.se/)
43
  * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/)
44
  * Ukrainian (uk_UA) - [Vitalij Lew](http://wpp.pp.ua/)
@@ -126,6 +130,10 @@ If you would like not to show the navigation, set `0`. The default is `1`.
126
 
127
  == Changelog ==
128
 
 
 
 
 
129
  = 0.6.8 =
130
  * Due to the license restriction, the highslide script has been removed.
131
  * Bugfix: key transition.
1
  === Lightbox Gallery ===
2
  Contributors: Hiroaki Miyashita
3
  Donate link: http://wpgogo.com/development/lightbox-gallery.html
4
+ Tags: lightbox, gallery, galleries, image, images, album, photo, photos, picture, pictures, jQuery, Highslide, Colorbox
5
  Requires at least: 2.5
6
+ Tested up to: 3.4
7
+ Stable tag: 0.7
8
 
9
  The Lightbox Gallery plugin changes the view of galleries to the lightbox.
10
 
11
  == Description ==
12
 
13
+ **Importance**
14
+ From 0.7, the default view changed to Colorbox due to the license regulation by the plugin directory. If you would prefer the prior Lightbox to Colorbox, you need to get the script from the setting page.
15
+
16
  The Lightbox Gallery plugin changes the view of galleries to the lightbox.
17
 
18
  * Lightbox display of Gallery
42
  * Polish (pl_PL) - Otmar
43
  * Romanian (ro_RO) - [Anunturi Jibo](http://www.jibo.ro/)
44
  * Russian (ru_RU) - [Fat Cow](http://www.fatcow.com/)
45
+ * Slovak (sk_SK) - [Viliam Brozman](http://www.brozman.sk/blog/)
46
  * Swedish (sv_SE) - [Anders Martensson](http://nemrod.se/)
47
  * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/)
48
  * Ukrainian (uk_UA) - [Vitalij Lew](http://wpp.pp.ua/)
130
 
131
  == Changelog ==
132
 
133
+ = 0.7 =
134
+ * The default view changed to Colorbox.
135
+ * Slovak (sk_SK) - Viliam Brozman
136
+
137
  = 0.6.8 =
138
  * Due to the license restriction, the highslide script has been removed.
139
  * Bugfix: key transition.