WP Lightbox 2 - Version 3.0.0

Version Description

  • Created some important changes for Lightbox.
Download this release

Release Info

Developer wpdevart
Plugin Icon 128x128 WP Lightbox 2
Version 3.0.0
Comparing to
See all releases

Code changes from version 2.26 to 3.0.0

Files changed (5) hide show
  1. I18n/howtouse.html +5 -1
  2. about.php +6 -2
  3. readme.txt +223 -32
  4. wp-lightbox-2.js +19 -3
  5. wp-lightbox-2.php +35 -10
I18n/howtouse.html CHANGED
@@ -1,4 +1,6 @@
1
- <h2>How to Use: <span style="font-size:12px">You can check more details <a href="http://onlinewebapplication.com/how-to-use-wp-lightbox-2-wordpress-plugin/" target="_blank">here</a></span></h2>
 
 
2
  <ol>
3
  <li>You can use WordPress image galleries and have them grouped and auto-lightboxed: <a href="http://codex.wordpress.org/Gallery_Shortcode"><code>[gallery link="file"]</code></a></li>
4
  <li>You can also add a <code>rel="lightbox"</code> attribute to any link tag to activate the lightbox. For example:
@@ -12,6 +14,8 @@
12
  No limits to the number of image sets per page or how many images are allowed in each set. Go nuts!</li>
13
  <li>To <strong>disable</strong> lightboxing of an image link, just set any other rel-attribute: <code>rel="nobox"</code></li>
14
  </ol>
 
 
15
  <h2>For developers:</h2>
16
  <ol>
17
  <li>Always have <code>wp_footer();</code> just before the closing &lt;/body&gt; tag of your theme, or you will break many plugins, which generally use this hook to reference JavaScript files</li>
1
+ <h2>How much your website is worth?</h2><span style="background-color: #FFFF00"><a href="http://yepinol.com/sitecost/" target="_blank">Check your site worth, Google PR and othe SEO stats.</a></span>
2
+ <h2>How to Use: <span style="font-size:15px">You can check more details <a href="http://onlinewebapplication.com/how-to-use-wp-lightbox-2-wordpress-plugin/" target="_blank">here</a></span></h2> <br/>
3
+ <h2>Lightbox Demo: <span style="font-size:15px">You can see live demo<a href="http://yepinol.com/wp-lightbox-2-plugin-wordpress-demo/" target="_blank">here</a></span></h2>
4
  <ol>
5
  <li>You can use WordPress image galleries and have them grouped and auto-lightboxed: <a href="http://codex.wordpress.org/Gallery_Shortcode"><code>[gallery link="file"]</code></a></li>
6
  <li>You can also add a <code>rel="lightbox"</code> attribute to any link tag to activate the lightbox. For example:
14
  No limits to the number of image sets per page or how many images are allowed in each set. Go nuts!</li>
15
  <li>To <strong>disable</strong> lightboxing of an image link, just set any other rel-attribute: <code>rel="nobox"</code></li>
16
  </ol>
17
+ <h2>WP Lighbox 2 Needs Your Support</h2>
18
+ It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using WP Lighbox 2 and find it useful, please consider <a href="http://onlinewebapplication.com/onlinewebapplication-com-donation/" target="_blank">making a donation</a>. Your donation will help encourage and support the plugin's continued development and better user support.
19
  <h2>For developers:</h2>
20
  <ol>
21
  <li>Always have <code>wp_footer();</code> just before the closing &lt;/body&gt; tag of your theme, or you will break many plugins, which generally use this hook to reference JavaScript files</li>
about.php CHANGED
@@ -6,7 +6,11 @@
6
  </style>
7
  <?php echo "<div id='about'>
8
  <h3>From the author</h3>
9
- <p>My name is <a href='http://onlinewebapplication.com/'>Pankaj Jha</a> and I've developed WP Lightbox 2. Nice to meet you! :)<p>
10
- <p>Feel free to post any issues <a href='http://onlinewebapplication.com/2011/11/wp-lightbox-2.html' target='_blank'>here </a><p>
 
 
 
 
11
  </div>";
12
  ?>
6
  </style>
7
  <?php echo "<div id='about'>
8
  <h3>From the author</h3>
9
+ <p>My name is <a href='http://onlinewebapplication.com/about-me/' target='_blank'>Pankaj Jha</a> and I've developed WP Lightbox 2. Nice to meet you! :)<p>
10
+ <h3><a href='http://yepinol.com/lightbox-2-plugin-wordpress/' target='_blank'>Learn more about WP Lightbox 2 </a><h3>
11
+ <h3> <a href='http://onlinewebapplication.com/wp-lighbox-2-support-forums/' target='_blank'>Forums/Discussion </a></h3>
12
+ <h3> <a href='http://yepinol.com/wp-lightbox-2-plugin-wordpress-demo/' target='_blank'>WP Lightbox 2 Demo </a></h3>
13
+ <h3> <a href='http://yepinol.com/wp-lightbox-2-faq/' target='_blank'>WP Lightbox 2 FAQ </a></h3>
14
+ <h3> <a href='http://onlinewebapplication.com/onlinewebapplication-com-donation/' target='_blank'>Please Donate</a></h3>
15
  </div>";
16
  ?>
readme.txt CHANGED
@@ -1,23 +1,26 @@
1
  === WP Lightbox 2 ===
2
- Contributors: masdiblogs
3
- Plugin Site: http://onlinewebapplication.com/
4
  Donate link: http://onlinewebapplication.com/onlinewebapplication-com-donation/
5
- Tags: lightbox, WP Lightbox, AJAX, image, photo, picture, JQuery WP Image Plugin, colorbox, photo albums, slideshow, image map, imagemap, flash, gallery, AJAX slideshow, JQuery slideshow
6
  Requires at least: 3.0
7
- Tested up to: 3.5
8
- Stable tag: trunk
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog.
13
  == Description ==
14
- From 2.1, the default view changed to [Colorbox](http://yepinol.com/lightbox-2-plugin-wordpress/) due to the license regulation by the plugin directory. This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog. Used to overlay images on the current page. Extension of wp-jquery-lightbox.
15
 
16
- Just install and sit back. This plugin enable image overlay lighbox effect for all the post images in your wordpress plugin. No configuration required.
17
 
18
- <b>This is the first Ligtbox plugin which support Image Map.</b>
19
 
20
- <b>Feature</b>:
 
 
 
21
 
22
  1. Works on all modern browsers.
23
  2. Group related images in post and navigate through them with ease.
@@ -27,23 +30,29 @@ Just install and sit back. This plugin enable image overlay lighbox effect for a
27
  6. Lightbox display of Gallery.
28
  7. Display image metadata (caption, description, etc.) in lightbox
29
  8. Group image links (play as a slideshow)
30
-
31
- <b>See the plugin in action here:</b>
32
- [Demo link 1](http://yepinol.com/wp-lightbox-2-plugin-wordpress-demo/)
33
- [Demo link 2](http://onlinewebapplication.com/wp-lightbox-2-demo/)
34
-
35
- Know How to use WP Lighbox 2 [here](http://onlinewebapplication.com/how-to-use-wp-lightbox-2-wordpress-plugin/)<br />
36
-
37
- <b>Troubleshooting:<b>
38
- Please read the [FAQ](http://yepinol.com/wp-lightbox-2-faq/) first if you are having problems.
39
-
40
- If you are unable to resolve your problem with the information provided in the FAQ please leave your comments or submit a support [request](http://onlinewebapplication.com/contact-form/).
 
 
 
 
 
 
 
41
 
42
  If you value my plugins, please help me out by rate this.
43
  <br />
44
- Author [Site](http://onlinewebapplication.com)<br />
45
- Lightbox 2 Plugin Home Page [link 1](http://onlinewebapplication.com/wp-lightbox-2/)<br />
46
- Lightbox 2 Plugin Home Page [link 2](http://yepinol.com/lightbox-2-plugin-wordpress/)
47
  <br />
48
  <br />
49
  == Installation ==
@@ -57,9 +66,12 @@ To do a new installation of the plugin, please follow these steps
57
  5. Optionally, go to the Options page and select a new Lightbox colour scheme.
58
 
59
  <br />
60
- [How to use WP Lighbox 2](http://onlinewebapplication.com/how-to-use-wp-lightbox-2-wordpress-plugin/)<br />
61
-
 
 
62
  == Frequently Asked Questions ==
 
63
 
64
  Question: Why does not plugin is working for me?
65
 
@@ -84,39 +96,146 @@ You can check more FAQ on plugin official website URL :<br />
84
  [WP Lightbox 2 Official URL](http://onlinewebapplication.com/wp-lightbox-2/)<br />
85
 
86
  == Screenshots ==
 
87
 
88
  You can check Screen Shots on plugin website URL :<br />
89
  WP Lightbox 2 [Link 1](http://onlinewebapplication.com/wp-lightbox-2/)<br />
90
  WP Lightbox 2 [Link 2](http://yepinol.com/lightbox-2-plugin-wordpress/)<br />
91
 
92
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  = 2.26 =
94
- * Compatible with wordpress 3.5. Check more details [here](http://yepinol.com/lightbox-2-plugin-wordpress/).
 
95
 
96
  = 2.25 =
97
- * Compatible with wordpress 3.4.2 (Fixed PHP 5 bug)
 
98
  * Fixed Bug [Stopped Working with W3 Total Cache](http://onlinewebapplication.com/wp-lightbox-2/)
99
 
100
  = 2.24 =
101
- * Compatible with wordpress 3.4.2
 
102
 
103
  = 2.23 =
104
- * Updated jQuery calls.
 
105
 
106
  = 2.22 =
107
- * Fixed one s, that caused a fatal error.
 
108
 
109
  = 2.21 =
110
- * Image Map
 
111
  * Shrink large images to fit smaller screens.
112
 
113
  = 2.2 =
 
114
  * Bug Fixed [Can't install update](http://wordpress.org/support/topic/plugin-wp-lightbox-2-cant-installa-update).
115
 
116
  = 2.1 =
 
117
  * Default view changed to Colorbox due to the license regulation by the plugin directory.
118
 
119
  = 2.0 =
 
120
  * List versions.
121
  * Works on all modern browsers.
122
  * Group related images in post and navigate through them with ease.
@@ -126,6 +245,78 @@ WP Lightbox 2 [Link 2](http://yepinol.com/lightbox-2-plugin-wordpress/)<br />
126
  * Lightbox display of Gallery.
127
 
128
  == Upgrade Notice ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  = 2.26 =
130
  * Compatible with wordpress 3.5
131
 
1
  === WP Lightbox 2 ===
2
+ Contributors: wpdevart
3
+ Plugin Site: http://yepinol.com/lightbox-2-plugin-wordpress/
4
  Donate link: http://onlinewebapplication.com/onlinewebapplication-com-donation/
5
+ Tags: lightbox, WP Lightbox, image, photo, picture, colorbox, photo albums, slideshow, image map, flash, gallery, JQuery slideshow, nextgen, page, photo, photo album, photo albums, photo gallery, Photo Slider, photos, picture, pictures, plugin, plugin for gallery, plugin gallery, portfolio, responsive gallery, seo image, thumbnail, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin, Galleria, gallery, Gallery Plugin, google, grid gallery, lightbox popup, Nivo Lightbox, responsive lightbox, light box, wordpress lightbox, social lightbox, lightbox gallery, video lightbox, gallery lightbox, wordpress image lightbox, Lightbox slider, image lightbox, lightbox pop, Jquery lightbox, css3 lightbox, lightbox photo, popup lightbox, wordpress lightbox gallery, lightbox images, wordpress video lightbox, lightbox youtube, prettyphoto lightbox, overlay, lightbox for youtube, lightview, onclick popup, shadowbox, modal, popup box, slimbox, popup, pop-up, popup window, popups, popup form, wordpress popup, optin popup, full page popup, jquery popup, custom popup, popup video, aweber, Responsive Popup, on click popup, hover, simple popup, image popup, quick popup, video popup, popup over,
6
  Requires at least: 3.0
7
+ Tested up to: 4.1
8
+ Stable tag: 3.0.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
+ WP Lightbox 2 is awesome tool for adding responsive lightbox (overlay) effect for images and also create lightbox for photo albums/galleries on your WordPress blog. WordPress Lightbox is one of the most useful plugins for your website.
13
  == Description ==
14
+ [**Best Responsive Lightbox (overlay) effect Plugin - Photo Albums - Image Gallery/Map Plugin**](http://yepinol.com/lightbox-2-plugin-wordpress/)
15
 
16
+ From 2.1, the default view changed to Colorbox due to the license regulation by the plugin directory. This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog. Used to overlay images on the current page. Extension of wp-jquery-lightbox.
17
 
18
+ Just install and sit back. This plugin enable image overlay Lightbox effect for all the post images in your wordpress plugin. No configuration required.
19
 
20
+ <b>This is the first [Lightbox plugin](http://onlinewebapplication.com/wp-lightbox-2/) which support Image Map.</b>
21
+
22
+
23
+ = Feature =
24
 
25
  1. Works on all modern browsers.
26
  2. Group related images in post and navigate through them with ease.
30
  6. Lightbox display of Gallery.
31
  7. Display image metadata (caption, description, etc.) in lightbox
32
  8. Group image links (play as a slideshow)
33
+ 9. Compatible with wordpress HTML5
34
+
35
+
36
+
37
+ > #### **Live Demos, Support and Usage**
38
+
39
+ >
40
+ * [DEMO: Lightbox plugin Demo](http://yepinol.com/wp-lightbox-2-plugin-wordpress-demo/)
41
+ > * [USAGE: Know How to use WP Lightbox 2](http://onlinewebapplication.com/how-to-use-wp-lightbox-2-wordpress-plugin/)
42
+ > * [SUPPORT FORUM: Ask for support](http://onlinewebapplication.com/wp-lighbox-2-support-forums/)
43
+ > * [TROUBLESHOOTING: Please read the FAQ first if you are having problems](http://yepinol.com/wp-lightbox-2-faq/)
44
+ >
45
+
46
+ = WP Lightbox 2 Needs Your Support =
47
+ It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using WP Lightbox 2 and find it useful, please consider [making a donation](http://onlinewebapplication.com/onlinewebapplication-com-donation/). Your donation will help encourage and support the plugin's continued development and better user support.
48
+
49
+ = Full support =
50
+ If you are unable to resolve your problem with the information provided in the FAQ please leave your comments or submit a support [request](http://onlinewebapplication.com/wp-lighbox-2-support-forums/).
51
 
52
  If you value my plugins, please help me out by rate this.
53
  <br />
54
+ [Author Site](http://onlinewebapplication.com)<br />
55
+ [Lightbox 2 Plugin Home Page](http://yepinol.com/lightbox-2-plugin-wordpress/)
 
56
  <br />
57
  <br />
58
  == Installation ==
66
  5. Optionally, go to the Options page and select a new Lightbox colour scheme.
67
 
68
  <br />
69
+ [How to use WP Lightbox 2](http://onlinewebapplication.com/how-to-use-wp-lightbox-2-wordpress-plugin/)<br />
70
+ [DEMO](http://yepinol.com/wp-lightbox-2-plugin-wordpress-demo/)<br />
71
+ [FAQ](http://yepinol.com/wp-lightbox-2-faq/)
72
+ [SUPPORT FORUM](http://onlinewebapplication.com/wp-lighbox-2-support-forums/)
73
  == Frequently Asked Questions ==
74
+ [Demo](http://yepinol.com/wp-lightbox-2-plugin-wordpress-demo/)
75
 
76
  Question: Why does not plugin is working for me?
77
 
96
  [WP Lightbox 2 Official URL](http://onlinewebapplication.com/wp-lightbox-2/)<br />
97
 
98
  == Screenshots ==
99
+ [Demo](http://yepinol.com/wp-lightbox-2-plugin-wordpress-demo/)
100
 
101
  You can check Screen Shots on plugin website URL :<br />
102
  WP Lightbox 2 [Link 1](http://onlinewebapplication.com/wp-lightbox-2/)<br />
103
  WP Lightbox 2 [Link 2](http://yepinol.com/lightbox-2-plugin-wordpress/)<br />
104
 
105
  == Changelog ==
106
+
107
+ = 3.0.0 =
108
+
109
+ * Created some important changes for Lightbox.
110
+
111
+ = 2.28.9.2.1 =
112
+
113
+ * Fixed: Broken shortcodes with WordPress 4.1 for Lightbox.
114
+
115
+ = 2.28.9.2 =
116
+
117
+ * Compatible Lightbox with wordpress 4.1.
118
+
119
+ = 2.28.9.1 =
120
+
121
+ * Compatible Lightbox with wordpress 4.0.1.
122
+
123
+ = 2.28.9.0 =
124
+
125
+ * Optimize Lightbox: content grouping support and exclusion performance .
126
+
127
+ = 2.28.8.9 =
128
+
129
+ * Compatible Lightbox with wordpress 4.0.
130
+
131
+ = 2.28.8.8 =
132
+
133
+ * Compatible Lightbox with wordpress 3.9.2
134
+
135
+ = 2.28.8.7 =
136
+
137
+ * Fixed Image Galary and other HTML issue minor for Lightbox .
138
+
139
+ = 2.28.8.6 =
140
+
141
+ * Compatible Lightbox with wordpress 3.9.1
142
+
143
+ = 2.28.8.5 =
144
+
145
+ * Fixed Lightbox Responsiveness Issue .
146
+
147
+ = 2.28.8.4 =
148
+
149
+ * Compatible Lightbox with wordpress 3.9.
150
+
151
+ = 2.28.8.3 =
152
+
153
+ * Fixed full screen image close issue for Lightbox.
154
+
155
+ = 2.28.8.2 =
156
+
157
+ * Compatible Lightbox with wordpress 3.8.1
158
+
159
+ = 2.28.8.1 =
160
+
161
+ * Fixed navigation Issue for Lightbox.
162
+
163
+ = 2.28.8 =
164
+
165
+ * Compatible Lightbox with wordpress 3.8 .
166
+
167
+ = 2.28.7 =
168
+
169
+ * Compatible Lightbox with wordpress 3.7.1.
170
+
171
+ = 2.28.6.1 =
172
+
173
+ * Fixed navigation issue (minor release) for Lightbox.
174
+
175
+ = 2.28.5 =
176
+
177
+ *Compatible Lightbox with wordpress 3.6.1.
178
+
179
+ = 2.28.4 =
180
+
181
+ *Compatible Lightbox with wordpress 3.6.
182
+
183
+ = 2.28.3 =
184
+
185
+ * Fixed HTML5 Themes support issues fro Lightbox.
186
+
187
+ = 2.28.2 =
188
+
189
+ * Compatible Lightbox with wordpress HTML5 Themes.
190
+
191
+ = 2.28.1 =
192
+
193
+ Fixed PHP 5 comment bug that got reintroduced into plugin.
194
+
195
+ = 2.28 =
196
+
197
+ *Use wp_enqueue_scripts instead. [Check support thread](http://wordpress.org/support/topic/please-stop-using-the-wp_print_scripts-action-hook-to-load-your-javascript).
198
+
199
+ = 2.27 =
200
+
201
+ * Compatible Lightboxwith wordpress 3.5.1.
202
+
203
  = 2.26 =
204
+
205
+ * Compatible Lightboxwith wordpress 3.5.
206
 
207
  = 2.25 =
208
+
209
+ * Compatible Lightboxwith wordpress 3.4.2 (Fixed PHP 5 bug)
210
  * Fixed Bug [Stopped Working with W3 Total Cache](http://onlinewebapplication.com/wp-lightbox-2/)
211
 
212
  = 2.24 =
213
+
214
+ * Compatible Lightboxwith wordpress 3.4.2
215
 
216
  = 2.23 =
217
+
218
+ * Updated jQuery calls for Lightbox.
219
 
220
  = 2.22 =
221
+
222
+ * Fixed one's, that caused a fatal error.
223
 
224
  = 2.21 =
225
+
226
+ * Image Map fro Lightbox.
227
  * Shrink large images to fit smaller screens.
228
 
229
  = 2.2 =
230
+
231
  * Bug Fixed [Can't install update](http://wordpress.org/support/topic/plugin-wp-lightbox-2-cant-installa-update).
232
 
233
  = 2.1 =
234
+
235
  * Default view changed to Colorbox due to the license regulation by the plugin directory.
236
 
237
  = 2.0 =
238
+
239
  * List versions.
240
  * Works on all modern browsers.
241
  * Group related images in post and navigate through them with ease.
245
  * Lightbox display of Gallery.
246
 
247
  == Upgrade Notice ==
248
+
249
+ = 2.28.9.2.1 =
250
+ * Fixed: Broken shortcodes with WordPress 4.1
251
+
252
+ * Compatible with wordpress 4.1
253
+
254
+ = 2.28.9.2 =
255
+ * Compatible with wordpress 4.1
256
+
257
+ = 2.28.9.1 =
258
+ * Compatible with wordpress 4.0.1
259
+
260
+ = 2.28.9.0 =
261
+ * Optimize: content grouping support and exclusion performance
262
+
263
+ = 2.28.8.9 =
264
+ * Compatible with wordpress 4.0.
265
+
266
+ = 2.28.8.8 =
267
+ * Compatible with wordpress 3.9.2
268
+
269
+ = 2.28.8.7 =
270
+ * Fixed Image Galary and other HTML issue minor fix
271
+
272
+ = 2.28.8.6 =
273
+ * Compatible with wordpress 3.9.1
274
+
275
+ = 2.28.8.5 =
276
+ * Fixed Responsiveness Issue
277
+
278
+ = 2.28.8.4 =
279
+ * Compatible with wordpress 3.9.
280
+
281
+ = 2.28.8.3 =
282
+ * Fixed full screen image close issue
283
+
284
+ = 2.28.8.2 =
285
+ * Compatible with wordpress 3.8.1
286
+
287
+ = 2.28.8.1 =
288
+ * Fixed navigation issue.
289
+
290
+ = 2.28.8 =
291
+ * Compatible with wordpress 3.8
292
+
293
+ = 2.28.7 =
294
+ * Compatible with wordpress 3.7.1
295
+
296
+ = 2.28.6.1 =
297
+ * Fixed navigation issue (minor release)
298
+
299
+ = 2.28.5 =
300
+ * Compatible with wordpress 3.6.1
301
+
302
+ = 2.28.4 =
303
+ * Compatible with wordpress 3.6.
304
+
305
+ = 2.28.3 =
306
+ * Fixed HTML5 Themes support issues
307
+
308
+ = 2.28.2 =
309
+ *Compatible with wordpress HTML5.
310
+
311
+ = 2.28.1 =
312
+ *Fixed PHP 5 comment bug that got reintroduced into plugin.
313
+
314
+ = 2.28 =
315
+ *Use wp_enqueue_scripts instead
316
+
317
+ = 2.27 =
318
+ * Compatible with wordpress 3.5.1.
319
+
320
  = 2.26 =
321
  * Compatible with wordpress 3.5
322
 
wp-lightbox-2.js CHANGED
@@ -1,8 +1,8 @@
1
  /**
2
  * Plugin Name: WP Lightbox 2
3
- * Plugin URI: http://onlinewebapplication.com/wp-lightbox-2/
4
  * Description: This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog.
5
- * Version: 2.26
6
  * Author: Pankaj Jha
7
  * Author URI: http://onlinewebapplication.com/
8
  * License: GNU General Public License, v2 (or newer)
@@ -93,6 +93,22 @@
93
  /*2.21 - Image Map, Shrink large images to fit smaller screens*/
94
  /*2.23 - Updated jQuery calls for faster load*/
95
  /*2.25 - Fixed PHP 5 bug*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  function resizeListener(e) {
97
  if (opts.resizeTimeout) {
98
  clearTimeout(opts.resizeTimeout);
@@ -292,7 +308,7 @@
292
  $('#lightboxImage').width(newWidth).height(newHeight);
293
  resizeImageContainer(newWidth, newHeight, newTop, newLeft);
294
  }
295
-
296
  function resizeImageContainer(imgWidth, imgHeight, lightboxTop, lightboxLeft) {
297
  opts.widthCurrent = $("#outerImageContainer").outerWidth();
298
  opts.heightCurrent = $("#outerImageContainer").outerHeight();
1
  /**
2
  * Plugin Name: WP Lightbox 2
3
+ * Plugin URI: http://yepinol.com/lightbox-2-plugin-wordpress/
4
  * Description: This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog.
5
+ * Version: 2.28.9.2.1
6
  * Author: Pankaj Jha
7
  * Author URI: http://onlinewebapplication.com/
8
  * License: GNU General Public License, v2 (or newer)
93
  /*2.21 - Image Map, Shrink large images to fit smaller screens*/
94
  /*2.23 - Updated jQuery calls for faster load*/
95
  /*2.25 - Fixed PHP 5 bug*/
96
+ /*2.27 - Compatible with wordpress 3.5.1.*/
97
+ /*2.28.6.1 - Fixed navigation issue (minor release)*/
98
+ /*2.28.8 - Compatible with wordpress 3.8.*/
99
+ /*2.28.8.1 - Fixed navigation issue.*/
100
+ /*2.28.8.2 - Compatible with wordpress 3.8.1*/
101
+ /*2.28.8.3 - Fixed full screen image close issue*/
102
+ /*2.28.8.4 - Compatible with wordpress 3.9*/
103
+ /*2.28.8.5 - Fixed Responsiveness Issue */
104
+ /*2.28.8.6 - Compatible with wordpress 3.9.1*/
105
+ /*2.28.8.7 - Fixed Image Galary and other HTML issue minor fix*/
106
+ /*2.28.8.8 - Compatible with wordpress 3.9.2*/
107
+ /*2.28.8.9 - Compatible with wordpress 4.0*/
108
+ /*2.28.9.0 - Optimize: content grouping support and exclusion performance*/
109
+ /*2.28.9.1 - Compatible with wordpress 4.0.1*/
110
+ /*2.28.9.2 - Compatible with wordpress 4.1*/
111
+ /*2.28.9.2.1 - Fixed: Broken shortcodes with WordPress 4.1*/
112
  function resizeListener(e) {
113
  if (opts.resizeTimeout) {
114
  clearTimeout(opts.resizeTimeout);
308
  $('#lightboxImage').width(newWidth).height(newHeight);
309
  resizeImageContainer(newWidth, newHeight, newTop, newLeft);
310
  }
311
+ /*2.28.4 - Compatible with wordpress 3.6.*/
312
  function resizeImageContainer(imgWidth, imgHeight, lightboxTop, lightboxLeft) {
313
  opts.widthCurrent = $("#outerImageContainer").outerWidth();
314
  opts.heightCurrent = $("#outerImageContainer").outerHeight();
wp-lightbox-2.php CHANGED
@@ -1,15 +1,15 @@
1
  <?php
2
  /**
3
  * Plugin Name: WP Lightbox 2
4
- * Plugin URI: http://onlinewebapplication.com/wp-lightbox-2/
5
- * Description: This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog.
6
- * Version: 2.26
7
- * Author: masdiblogs
8
- * Author URI: http://profiles.wordpress.org/masdiblogs
9
  * License: GNU General Public License, v2 (or newer)
10
  * License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
12
- /* Copyright 2011 Pankaj Jha (onlinewebapplication.com)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License as published by
@@ -31,6 +31,31 @@
31
  /*2.24 - Compatible with wordpress 3.4.2*/
32
  /*2.25 - Fixed PHP 5 bug*/
33
  /*2.26 - Compatible with wordpress 3.5*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  add_action( 'plugins_loaded', 'jqlb_init' );
35
  function jqlb_init() {
36
  if(!defined('ULFBEN_DONATE_URL')){
@@ -46,8 +71,8 @@ function jqlb_init() {
46
  //load_plugin_textdomain('jqlb', false, plugin_dir_path(__FILE__).'I18n/');
47
  add_action('admin_init', 'jqlb_register_settings');
48
  add_action('admin_menu', 'jqlb_register_menu_item');
49
- add_action('wp_print_styles', 'jqlb_css');
50
- add_action('wp_print_scripts', 'jqlb_js');
51
  add_filter('plugin_row_meta', 'jqlb_set_plugin_meta', 2, 10);
52
  add_filter('the_content', 'jqlb_autoexpand_rel_wlightbox', 99);
53
  if(get_option('jqlb_comments') == 1){
@@ -216,7 +241,7 @@ function jqlb_options_panel(){
216
  <?php $check = get_option('jqlb_show_download') ? ' checked="yes" ' : ''; ?>
217
  <input type="checkbox" id="jqlb_show_download" name="jqlb_show_download" value="1" <?php echo $check; ?> />
218
  <label for="jqlb_show_download"> <?php _e('Show download link', 'jqlb') ?> </label>
219
- </td>
220
  <td>
221
  <?php $target = get_option('jqlb_link_target'); ?>
222
  <label for="jqlb_link_target" title="<?php _e('_blank: open the image in a new window or tab
@@ -284,7 +309,7 @@ _top: open the image in the full body of the window', 'jqlb') ?>"><?php _e('Targ
284
  $text = @file($diskfile);
285
  if($text !== false){
286
  $text = implode("", $text);
287
- }
288
  }
289
  if($text === false){
290
  $text = '<p>The documentation files are missing! Try <a href="http://wordpress.org/extend/plugins/wp-lightbox-2/">downloading</a> and <a href="http://wordpress.org/extend/plugins/wp-lightbox-2/installation/">re-installing</a> this lightbox plugin.</p>';
1
  <?php
2
  /**
3
  * Plugin Name: WP Lightbox 2
4
+ * Plugin URI: http://yepinol.com/lightbox-2-plugin-wordpress/
5
+ * Description: WP Lightbox 2 is awesome tool for adding responsive lightbox (overlay) effect for images and also create lightbox for photo albums/galleries on your WordPress blog. WordPress Lightbox is one of the most useful plugins for your website.
6
+ * Version: 3.0.0
7
+ * Author: wpdevart
8
+ * Author URI: http://onlinewebapplication.com/
9
  * License: GNU General Public License, v2 (or newer)
10
  * License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
12
+ /* Copyright 2011 Pankaj Jha, current owner wpdevart.com
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License as published by
31
  /*2.24 - Compatible with wordpress 3.4.2*/
32
  /*2.25 - Fixed PHP 5 bug*/
33
  /*2.26 - Compatible with wordpress 3.5*/
34
+ /*2.27 - Compatible with wordpress 3.5.1*/
35
+ /*
36
+ 2.28 - wp_print_scripts and wp_print_styles should not be used to enqueue styles or scripts on the front page. Use wp_enqueue_scripts instead.
37
+ */
38
+ /*2.28.1 - Fixed PHP 5 comment bug that got reintroduced into plugin*/
39
+ /*2.28.2 - Compatible with wordpress HTML5 Themes */
40
+ /*2.28.3 - Fixed HTML5 Themes support issues. */
41
+ /*2.28.4 - Compatible with wordpress 3.6*/
42
+ /*2.28.5 - Compatible with wordpress 3.6.1*/
43
+ /*2.28.6.1 - Fixed navigation issue (minor release)*/
44
+ /*2.28.7 - Compatible with wordpress 3.7.1*/
45
+ /*2.28.8 - Compatible with wordpress 3.8*/
46
+ /*2.28.8.1 - Fixed navigation issue*/
47
+ /*2.28.8.2 - Compatible with wordpress 3.8.1*/
48
+ /*2.28.8.3 - Fixed full screen close*/
49
+ /*2.28.8.4 - Compatible with wordpress 3.9*/
50
+ /*2.28.8.5 - Fixed Responsiveness Issue */
51
+ /*2.28.8.6 - Compatible with wordpress 3.9.1*/
52
+ /*2.28.8.7 - Fixed Image Galary and other HTML issue minor fix*/
53
+ /*2.28.8.8 - Compatible with wordpress 3.9.2*/
54
+ /*2.28.8.9 - Compatible with wordpress 4.0*/
55
+ /*2.28.9.0 - Optimize: content grouping support and exclusion performance */
56
+ /*2.28.9.1 - Compatible with wordpress 4.0.1*/
57
+ /*2.28.9.2 - Compatible with wordpress 4.1*/
58
+ /*2.28.9.2.1 - Fixed: Broken shortcodes with WordPress 4.1*/
59
  add_action( 'plugins_loaded', 'jqlb_init' );
60
  function jqlb_init() {
61
  if(!defined('ULFBEN_DONATE_URL')){
71
  //load_plugin_textdomain('jqlb', false, plugin_dir_path(__FILE__).'I18n/');
72
  add_action('admin_init', 'jqlb_register_settings');
73
  add_action('admin_menu', 'jqlb_register_menu_item');
74
+ add_action('wp_enqueue_scripts', 'jqlb_css');
75
+ add_action('wp_enqueue_scripts', 'jqlb_js');
76
  add_filter('plugin_row_meta', 'jqlb_set_plugin_meta', 2, 10);
77
  add_filter('the_content', 'jqlb_autoexpand_rel_wlightbox', 99);
78
  if(get_option('jqlb_comments') == 1){
241
  <?php $check = get_option('jqlb_show_download') ? ' checked="yes" ' : ''; ?>
242
  <input type="checkbox" id="jqlb_show_download" name="jqlb_show_download" value="1" <?php echo $check; ?> />
243
  <label for="jqlb_show_download"> <?php _e('Show download link', 'jqlb') ?> </label>
244
+ </td>
245
  <td>
246
  <?php $target = get_option('jqlb_link_target'); ?>
247
  <label for="jqlb_link_target" title="<?php _e('_blank: open the image in a new window or tab
309
  $text = @file($diskfile);
310
  if($text !== false){
311
  $text = implode("", $text);
312
+ }
313
  }
314
  if($text === false){
315
  $text = '<p>The documentation files are missing! Try <a href="http://wordpress.org/extend/plugins/wp-lightbox-2/">downloading</a> and <a href="http://wordpress.org/extend/plugins/wp-lightbox-2/installation/">re-installing</a> this lightbox plugin.</p>';