Responsive Lightbox & Gallery - Version 1.5.5

Version Description

  • Tweak: Multiple backward rel attribute compatibility tweaks
  • Fix: Nivo lightbox and Image lightbox js attr errors when no data-rel given
  • Fix: Swipebox option to remove top and bottom bars
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Responsive Lightbox & Gallery
Version 1.5.5
Comparing to
See all releases

Code changes from version 1.5.4 to 1.5.5

Files changed (3) hide show
  1. js/front.js +153 -103
  2. readme.txt +8 -4
  3. responsive-lightbox.php +3 -3
js/front.js CHANGED
@@ -5,115 +5,165 @@
5
  $( document ).on( 'ready' + rlArgs.custom_events, function () {
6
 
7
  if ( rlArgs.script === 'swipebox' ) {
 
8
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).swipebox( {
9
- useCSS: ( rlArgs.animation === '1' ? true : false ),
10
- useSVG: ( rlArgs.useSVG === '1' ? true : false ),
11
- hideCloseButtonOnMobile: ( rlArgs.hideCloseButtonOnMobile === '1' ? true : false ),
12
- hideBarsDelay: ( rlArgs.hideBars === '1' ? parseInt( rlArgs.hideBarsDelay ) : 0 ),
13
- videoMaxWidth: parseInt( rlArgs.videoMaxWidth ),
14
- loopAtEnd: ( rlArgs.loopAtEnd === '1' ? true : false )
 
15
  } );
 
16
  } else if ( rlArgs.script === 'prettyphoto' ) {
 
17
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).prettyPhoto( {
18
- hook: 'data-rel',
19
- animation_speed: rlArgs.animationSpeed,
20
- slideshow: ( rlArgs.slideshow === '1' ? parseInt( rlArgs.slideshowDelay ) : false ),
21
- autoplay_slideshow: ( rlArgs.slideshowAutoplay === '1' ? true : false ),
22
- opacity: rlArgs.opacity,
23
- show_title: ( rlArgs.showTitle === '1' ? true : false ),
24
- allow_resize: ( rlArgs.allowResize === '1' ? true : false ),
25
- allow_expand: ( rlArgs.allowExpand === '1' ? true : false ),
26
- default_width: parseInt( rlArgs.width ),
27
- default_height: parseInt( rlArgs.height ),
28
- counter_separator_label: rlArgs.separator,
29
- theme: rlArgs.theme,
30
- horizontal_padding: parseInt( rlArgs.horizontalPadding ),
31
- hideflash: ( rlArgs.hideFlash === '1' ? true : false ),
32
- wmode: rlArgs.wmode,
33
- autoplay: ( rlArgs.videoAutoplay === '1' ? true : false ),
34
- modal: ( rlArgs.modal === '1' ? true : false ),
35
- deeplinking: ( rlArgs.deeplinking === '1' ? true : false ),
36
- overlay_gallery: ( rlArgs.overlayGallery === '1' ? true : false ),
37
- keyboard_shortcuts: ( rlArgs.keyboardShortcuts === '1' ? true : false ),
38
- social_tools: ( rlArgs.social === '1' ? '<div class="pp_social"><div class="twitter"><a href="//twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href=' + location.href + '&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' : '' ),
39
- changepicturecallback: function () {
40
  },
41
- callback: function () {
42
  },
43
- ie6_fallback: true
44
  } );
 
45
  } else if ( rlArgs.script === 'fancybox' ) {
 
46
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).fancybox( {
47
- modal: ( rlArgs.modal === '1' ? true : false ),
48
- overlayShow: ( rlArgs.showOverlay === '1' ? true : false ),
49
- showCloseButton: ( rlArgs.showCloseButton === '1' ? true : false ),
50
- enableEscapeButton: ( rlArgs.enableEscapeButton === '1' ? true : false ),
51
- hideOnOverlayClick: ( rlArgs.hideOnOverlayClick === '1' ? true : false ),
52
- hideOnContentClick: ( rlArgs.hideOnContentClick === '1' ? true : false ),
53
- cyclic: ( rlArgs.cyclic === '1' ? true : false ),
54
- showNavArrows: ( rlArgs.showNavArrows === '1' ? true : false ),
55
- autoScale: ( rlArgs.autoScale === '1' ? true : false ),
56
- scrolling: rlArgs.scrolling,
57
- centerOnScroll: ( rlArgs.centerOnScroll === '1' ? true : false ),
58
- opacity: ( rlArgs.opacity === '1' ? true : false ),
59
- overlayOpacity: parseFloat( rlArgs.overlayOpacity / 100 ),
60
- overlayColor: rlArgs.overlayColor,
61
- titleShow: ( rlArgs.titleShow === '1' ? true : false ),
62
- titlePosition: rlArgs.titlePosition,
63
- transitionIn: rlArgs.transitions,
64
- transitionOut: rlArgs.transitions,
65
- easingIn: rlArgs.easings,
66
- easingOut: rlArgs.easings,
67
- speedIn: parseInt( rlArgs.speeds ),
68
- speedOut: parseInt( rlArgs.speeds ),
69
- changeSpeed: parseInt( rlArgs.changeSpeed ),
70
- changeFade: parseInt( rlArgs.changeFade ),
71
- padding: parseInt( rlArgs.padding ),
72
- margin: parseInt( rlArgs.margin ),
73
- width: parseInt( rlArgs.videoWidth ),
74
- height: parseInt( rlArgs.videoHeight )
75
  } );
 
76
  } else if ( rlArgs.script === 'nivo' ) {
 
77
  $.each( $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ), function () {
78
- var match = $( this ).attr( 'data-rel' ).match( new RegExp( rlArgs.selector + '\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig' ) );
79
-
80
- if ( match !== null ) {
81
- $( this ).attr( 'data-lightbox-gallery', match[0] );
 
 
82
  }
 
 
 
 
 
 
 
 
 
 
 
83
  } );
84
 
85
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).nivoLightbox( {
86
- effect: rlArgs.effect,
87
- clickOverlayToClose: ( rlArgs.clickOverlayToClose === '1' ? true : false ),
88
- keyboardNav: ( rlArgs.keyboardNav === '1' ? true : false ),
89
- errorMessage: rlArgs.errorMessage
90
  } );
 
91
  } else if ( rlArgs.script === 'imagelightbox' ) {
92
- $( 'a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
93
- $( 'a[data-rel="' + $( item ).data( 'rel' ) + '"]' ).imageLightbox( {
94
- animationSpeed: parseInt( rlArgs.animationSpeed ),
95
- preloadNext: ( rlArgs.preloadNext === '1' ? true : false ),
96
- enableKeyboard: ( rlArgs.enableKeyboard === '1' ? true : false ),
97
- quitOnEnd: ( rlArgs.quitOnEnd === '1' ? true : false ),
98
- quitOnImgClick: ( rlArgs.quitOnImageClick === '1' ? true : false ),
99
- quitOnDocClick: ( rlArgs.quitOnDocumentClick === '1' ? true : false )
100
- } );
 
 
 
 
 
 
 
101
  } );
102
- $( 'a[rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
103
- $( 'a[data-rel="' + item.rel + ']"' ).imageLightbox( {
104
- animationSpeed: parseInt( rlArgs.animationSpeed ),
105
- preloadNext: ( rlArgs.preloadNext === '1' ? true : false ),
106
- enableKeyboard: ( rlArgs.enableKeyboard === '1' ? true : false ),
107
- quitOnEnd: ( rlArgs.quitOnEnd === '1' ? true : false ),
108
- quitOnImgClick: ( rlArgs.quitOnImageClick === '1' ? true : false ),
109
- quitOnDocClick: ( rlArgs.quitOnDocumentClick === '1' ? true : false )
 
 
 
 
 
 
 
 
110
  } );
111
- } );
 
112
  } else if ( rlArgs.script === 'tosrus' ) {
 
113
  var selectors = [];
114
 
115
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
116
- selectors.push( $( item ).data( 'rel' ) );
 
 
 
 
 
 
 
 
 
 
 
117
  } );
118
 
119
  if ( selectors.length > 0 ) {
@@ -122,28 +172,28 @@
122
 
123
  $( selectors ).each( function ( i, item ) {
124
 
125
- $( 'a[data-rel="' + item + '"]' ).tosrus( {
126
- infinite: ( rlArgs.infinite === '1' ? true : false ),
127
- autoplay: {
128
- play: ( rlArgs.autoplay === '1' ? true : false ),
129
- pauseOnHover: ( rlArgs.pause_on_hover === '1' ? true : false ),
130
- timeout: rlArgs.timeout
131
  },
132
- effect: rlArgs.effect,
133
- keys: {
134
- prev: ( rlArgs.keys === '1' ? true : false ),
135
- next: ( rlArgs.keys === '1' ? true : false ),
136
- close: ( rlArgs.keys === '1' ? true : false )
137
  },
138
- pagination: {
139
- add: ( rlArgs.pagination === '1' ? true : false ),
140
- type: rlArgs.pagination_type
141
  },
142
  // forced
143
- show: false,
144
- caption: {
145
- add: true,
146
- attributes: ["title"]
147
  }
148
  } );
149
  } );
5
  $( document ).on( 'ready' + rlArgs.custom_events, function () {
6
 
7
  if ( rlArgs.script === 'swipebox' ) {
8
+
9
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).swipebox( {
10
+ useCSS : ( rlArgs.animation === '1' ? true : false ),
11
+ useSVG : ( rlArgs.useSVG === '1' ? true : false ),
12
+ hideCloseButtonOnMobile : ( rlArgs.hideCloseButtonOnMobile === '1' ? true : false ),
13
+ removeBarsOnMobile : ( rlArgs.removeBarsOnMobile === '1' ? true : false ),
14
+ hideBarsDelay : ( rlArgs.hideBars === '1' ? parseInt( rlArgs.hideBarsDelay ) : 0 ),
15
+ videoMaxWidth : parseInt( rlArgs.videoMaxWidth ),
16
+ loopAtEnd : ( rlArgs.loopAtEnd === '1' ? true : false )
17
  } );
18
+
19
  } else if ( rlArgs.script === 'prettyphoto' ) {
20
+
21
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).prettyPhoto( {
22
+ hook : 'data-rel',
23
+ animation_speed : rlArgs.animationSpeed,
24
+ slideshow : ( rlArgs.slideshow === '1' ? parseInt( rlArgs.slideshowDelay ) : false ),
25
+ autoplay_slideshow : ( rlArgs.slideshowAutoplay === '1' ? true : false ),
26
+ opacity : rlArgs.opacity,
27
+ show_title : ( rlArgs.showTitle === '1' ? true : false ),
28
+ allow_resize : ( rlArgs.allowResize === '1' ? true : false ),
29
+ allow_expand : ( rlArgs.allowExpand === '1' ? true : false ),
30
+ default_width : parseInt( rlArgs.width ),
31
+ default_height : parseInt( rlArgs.height ),
32
+ counter_separator_label : rlArgs.separator,
33
+ theme : rlArgs.theme,
34
+ horizontal_padding : parseInt( rlArgs.horizontalPadding ),
35
+ hideflash : ( rlArgs.hideFlash === '1' ? true : false ),
36
+ wmode : rlArgs.wmode,
37
+ autoplay : ( rlArgs.videoAutoplay === '1' ? true : false ),
38
+ modal : ( rlArgs.modal === '1' ? true : false ),
39
+ deeplinking : ( rlArgs.deeplinking === '1' ? true : false ),
40
+ overlay_gallery : ( rlArgs.overlayGallery === '1' ? true : false ),
41
+ keyboard_shortcuts : ( rlArgs.keyboardShortcuts === '1' ? true : false ),
42
+ social_tools : ( rlArgs.social === '1' ? '<div class="pp_social"><div class="twitter"><a href="//twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href=' + location.href + '&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' : '' ),
43
+ changepicturecallback : function () {
44
  },
45
+ callback : function () {
46
  },
47
+ ie6_fallback : true
48
  } );
49
+
50
  } else if ( rlArgs.script === 'fancybox' ) {
51
+
52
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).fancybox( {
53
+ modal : ( rlArgs.modal === '1' ? true : false ),
54
+ overlayShow : ( rlArgs.showOverlay === '1' ? true : false ),
55
+ showCloseButton : ( rlArgs.showCloseButton === '1' ? true : false ),
56
+ enableEscapeButton : ( rlArgs.enableEscapeButton === '1' ? true : false ),
57
+ hideOnOverlayClick : ( rlArgs.hideOnOverlayClick === '1' ? true : false ),
58
+ hideOnContentClick : ( rlArgs.hideOnContentClick === '1' ? true : false ),
59
+ cyclic : ( rlArgs.cyclic === '1' ? true : false ),
60
+ showNavArrows : ( rlArgs.showNavArrows === '1' ? true : false ),
61
+ autoScale : ( rlArgs.autoScale === '1' ? true : false ),
62
+ scrolling : rlArgs.scrolling,
63
+ centerOnScroll : ( rlArgs.centerOnScroll === '1' ? true : false ),
64
+ opacity : ( rlArgs.opacity === '1' ? true : false ),
65
+ overlayOpacity : parseFloat( rlArgs.overlayOpacity / 100 ),
66
+ overlayColor : rlArgs.overlayColor,
67
+ titleShow : ( rlArgs.titleShow === '1' ? true : false ),
68
+ titlePosition : rlArgs.titlePosition,
69
+ transitionIn : rlArgs.transitions,
70
+ transitionOut : rlArgs.transitions,
71
+ easingIn : rlArgs.easings,
72
+ easingOut : rlArgs.easings,
73
+ speedIn : parseInt( rlArgs.speeds ),
74
+ speedOut : parseInt( rlArgs.speeds ),
75
+ changeSpeed : parseInt( rlArgs.changeSpeed ),
76
+ changeFade : parseInt( rlArgs.changeFade ),
77
+ padding : parseInt( rlArgs.padding ),
78
+ margin : parseInt( rlArgs.margin ),
79
+ width : parseInt( rlArgs.videoWidth ),
80
+ height : parseInt( rlArgs.videoHeight )
81
  } );
82
+
83
  } else if ( rlArgs.script === 'nivo' ) {
84
+
85
  $.each( $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ), function () {
86
+
87
+ var attr = $( this ).attr( 'data-rel' );
88
+
89
+ if ( typeof attr == typeof undefined || attr == false ) {
90
+ // backward rel compatibility
91
+ var attr = $( this ).attr( 'rel' );
92
  }
93
+
94
+ // for some browsers, `attr` is undefined; for others,
95
+ // `attr` is false. Check for both.
96
+ if ( typeof attr !== typeof undefined && attr !== false ) {
97
+ var match = attr.match( new RegExp( rlArgs.selector + '\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig' ) );
98
+
99
+ if ( match !== null ) {
100
+ $( this ).attr( 'data-lightbox-gallery', match[0] );
101
+ }
102
+ }
103
+
104
  } );
105
 
106
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).nivoLightbox( {
107
+ effect : rlArgs.effect,
108
+ clickOverlayToClose : ( rlArgs.clickOverlayToClose === '1' ? true : false ),
109
+ keyboardNav : ( rlArgs.keyboardNav === '1' ? true : false ),
110
+ errorMessage : rlArgs.errorMessage
111
  } );
112
+
113
  } else if ( rlArgs.script === 'imagelightbox' ) {
114
+
115
+ var selectors = [];
116
+
117
+ $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
118
+ var attr = $( item ).attr( 'data-rel' );
119
+
120
+ if ( typeof attr !== typeof undefined && attr !== false ) {
121
+ selectors.push( attr );
122
+ }
123
+
124
+ // backward rel compatibility
125
+ var attr = $( item ).attr( 'rel' );
126
+
127
+ if ( typeof attr !== typeof undefined && attr !== false ) {
128
+ selectors.push( attr );
129
+ }
130
  } );
131
+
132
+ if ( selectors.length > 0 ) {
133
+ // make unique
134
+ selectors = $.unique( selectors );
135
+
136
+ console.log(selectors);
137
+
138
+ $( selectors ).each( function ( i, item ) {
139
+ $( 'a[data-rel="' + item + '"], a[rel="' + item + '"]' ).imageLightbox( {
140
+ animationSpeed : parseInt( rlArgs.animationSpeed ),
141
+ preloadNext : ( rlArgs.preloadNext === '1' ? true : false ),
142
+ enableKeyboard : ( rlArgs.enableKeyboard === '1' ? true : false ),
143
+ quitOnEnd : ( rlArgs.quitOnEnd === '1' ? true : false ),
144
+ quitOnImgClick : ( rlArgs.quitOnImageClick === '1' ? true : false ),
145
+ quitOnDocClick : ( rlArgs.quitOnDocumentClick === '1' ? true : false )
146
+ } );
147
  } );
148
+ }
149
+
150
  } else if ( rlArgs.script === 'tosrus' ) {
151
+
152
  var selectors = [];
153
 
154
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
155
+ var attr = $( item ).attr( 'data-rel' );
156
+
157
+ if ( typeof attr !== typeof undefined && attr !== false ) {
158
+ selectors.push( attr );
159
+ }
160
+
161
+ // backward rel compatibility
162
+ var attr = $( item ).attr( 'rel' );
163
+
164
+ if ( typeof attr !== typeof undefined && attr !== false ) {
165
+ selectors.push( attr );
166
+ }
167
  } );
168
 
169
  if ( selectors.length > 0 ) {
172
 
173
  $( selectors ).each( function ( i, item ) {
174
 
175
+ $( 'a[data-rel="' + item + '"], a[rel="' + item + '"]' ).tosrus( {
176
+ infinite : ( rlArgs.infinite === '1' ? true : false ),
177
+ autoplay : {
178
+ play : ( rlArgs.autoplay === '1' ? true : false ),
179
+ pauseOnHover : ( rlArgs.pause_on_hover === '1' ? true : false ),
180
+ timeout : rlArgs.timeout
181
  },
182
+ effect : rlArgs.effect,
183
+ keys : {
184
+ prev : ( rlArgs.keys === '1' ? true : false ),
185
+ next : ( rlArgs.keys === '1' ? true : false ),
186
+ close : ( rlArgs.keys === '1' ? true : false )
187
  },
188
+ pagination : {
189
+ add : ( rlArgs.pagination === '1' ? true : false ),
190
+ type : rlArgs.pagination_type
191
  },
192
  // forced
193
+ show : false,
194
+ caption : {
195
+ add : true,
196
+ attributes : ["title"]
197
  }
198
  } );
199
  } );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
4
  Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
- Stable tag: 1.5.4
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -67,6 +67,11 @@ No questions yet.
67
 
68
  == Changelog ==
69
 
 
 
 
 
 
70
  = 1.5.4 =
71
  * Tweak: Swipebox option to remove top and bottom bars on mobile devices
72
  * Fix: Swipe support for Tos "R" Us lightbox script
@@ -221,6 +226,5 @@ Initial release
221
 
222
  == Upgrade Notice ==
223
 
224
- = 1.5.4 =
225
- * Tweak: Swipebox option to remove top and bottom bars on mobile devices
226
- * Fix: Swipe support for Tos "R" Us lightbox script
4
  Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.5.5
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
67
 
68
  == Changelog ==
69
 
70
+ = 1.5.5 =
71
+ * Tweak: Multiple backward rel attribute compatibility tweaks
72
+ * Fix: Nivo lightbox and Image lightbox js attr errors when no data-rel given
73
+ * Fix: Swipebox option to remove top and bottom bars
74
+
75
  = 1.5.4 =
76
  * Tweak: Swipebox option to remove top and bottom bars on mobile devices
77
  * Fix: Swipe support for Tos "R" Us lightbox script
226
 
227
  == Upgrade Notice ==
228
 
229
+ = 1.5.5 =
230
+ * Tweak: Multiple backward rel attribute compatibility tweaks
 
responsive-lightbox.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Responsive Lightbox
4
  Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
- Version: 1.5.4
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
@@ -36,7 +36,7 @@ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes/class-settings.php' );
36
  * Responsive Lightbox class.
37
  *
38
  * @class Responsive_Lightbox
39
- * @version 1.5.4
40
  */
41
  class Responsive_Lightbox {
42
 
@@ -142,7 +142,7 @@ class Responsive_Lightbox {
142
  'pagination_type' => 'thumbnails'
143
  )
144
  ),
145
- 'version' => '1.5.4'
146
  );
147
  public $options = array();
148
  private static $_instance;
2
  /*
3
  Plugin Name: Responsive Lightbox
4
  Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
+ Version: 1.5.5
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
36
  * Responsive Lightbox class.
37
  *
38
  * @class Responsive_Lightbox
39
+ * @version 1.5.5
40
  */
41
  class Responsive_Lightbox {
42
 
142
  'pagination_type' => 'thumbnails'
143
  )
144
  ),
145
+ 'version' => '1.5.5'
146
  );
147
  public $options = array();
148
  private static $_instance;