Version Description
- Bug Fixed Can't install update.
Download this release
Release Info
Developer | wpdevart |
Plugin | WP Lightbox 2 |
Version | 2.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.0 to 2.2
- I18n/howtouse.html +2 -6
- about.php +2 -6
- readme.txt +16 -256
- wp-lightbox-2.js +5 -23
- wp-lightbox-2.php +12 -42
I18n/howtouse.html
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
-
<h2>How
|
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,8 +12,6 @@
|
|
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 </body> tag of your theme, or you will break many plugins, which generally use this hook to reference JavaScript files</li>
|
@@ -30,7 +26,7 @@
|
|
30 |
<h2>Credits</h2><ul style="list-style-type: circle;margin-left: 24px;">
|
31 |
<li>Based on wp-jquery-lightbox was created by <a href="http://www.ulfben.com">Ulf Benjaminsson</a> (who <a href="http://amzn.com/w/2QB6SQ5XX2U0N">appreciates books</a>). :)</li>
|
32 |
<li>wp-lightbox-2 borrowed the regexp from <a href="http://stimuli.ca/lightbox/">LightBox-2 by Rupert Morris</a> to apply lightbox-rel without clobbering manual inputs.</li>
|
33 |
-
<li><a href="http://onlinewebapplication.com/wp-lightbox-2
|
34 |
</ul>
|
35 |
|
36 |
<h2>Changes to Lightbox-script:</h2><p style="margin-left: 24px;">
|
1 |
+
<h2>How to Use:</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 |
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 </body> tag of your theme, or you will break many plugins, which generally use this hook to reference JavaScript files</li>
|
26 |
<h2>Credits</h2><ul style="list-style-type: circle;margin-left: 24px;">
|
27 |
<li>Based on wp-jquery-lightbox was created by <a href="http://www.ulfben.com">Ulf Benjaminsson</a> (who <a href="http://amzn.com/w/2QB6SQ5XX2U0N">appreciates books</a>). :)</li>
|
28 |
<li>wp-lightbox-2 borrowed the regexp from <a href="http://stimuli.ca/lightbox/">LightBox-2 by Rupert Morris</a> to apply lightbox-rel without clobbering manual inputs.</li>
|
29 |
+
<li><a href="http://onlinewebapplication.com/2011/11/wp-lightbox-2.html">WP Lightbox 2</a> is based on <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox 2 by Lokesh Dhakar</a></li>
|
30 |
</ul>
|
31 |
|
32 |
<h2>Changes to Lightbox-script:</h2><p style="margin-left: 24px;">
|
about.php
CHANGED
@@ -6,11 +6,7 @@
|
|
6 |
</style>
|
7 |
<?php echo "<div id='about'>
|
8 |
<h3>From the author</h3>
|
9 |
-
<p>My name is <a href='http://onlinewebapplication.com/
|
10 |
-
<
|
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 |
?>
|
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 |
?>
|
readme.txt
CHANGED
@@ -1,26 +1,21 @@
|
|
1 |
=== WP Lightbox 2 ===
|
2 |
-
Contributors:
|
3 |
-
Plugin Site: http://
|
4 |
Donate link: http://onlinewebapplication.com/onlinewebapplication-com-donation/
|
5 |
-
Tags: lightbox, WP Lightbox,
|
6 |
-
Requires at least:
|
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 |
-
|
13 |
== Description ==
|
14 |
-
|
15 |
|
16 |
-
|
17 |
|
18 |
-
|
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.
|
@@ -28,31 +23,10 @@ Just install and sit back. This plugin enable image overlay Lightbox effect for
|
|
28 |
4. No configuration required.
|
29 |
5. 5 Inbuilt theme.
|
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)
|
55 |
-
[
|
56 |
<br />
|
57 |
<br />
|
58 |
== Installation ==
|
@@ -66,12 +40,9 @@ To do a new installation of the plugin, please follow these steps
|
|
66 |
5. Optionally, go to the Options page and select a new Lightbox colour scheme.
|
67 |
|
68 |
<br />
|
69 |
-
[How to use WP
|
70 |
-
|
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 |
|
@@ -89,153 +60,23 @@ Question: It does not work properly in Browser X (Explorer 6, 7, etc)?
|
|
89 |
Answer: Yes it does. The problem is with your WordPress theme, mangling image display properties. Use another theme, or change your theme`s Cascading Style Sheets (CSS).
|
90 |
|
91 |
<br />
|
92 |
-
You can check more FAQ on plugin
|
93 |
-
|
94 |
-
[WP Lightbox 2 FAQ](http://yepinol.com/wp-lightbox-2-faq/)<br />
|
95 |
|
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
|
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.
|
@@ -246,86 +87,5 @@ Fixed PHP 5 comment bug that got reintroduced into plugin.
|
|
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 |
-
|
323 |
-
= 2.25 =
|
324 |
-
Compatible with wordpress 3.4.2 (Fixed PHP 5 bug)
|
325 |
-
Fixed Bug [Stopped Working with W3 Total Cache](http://onlinewebapplication.com/wp-lightbox-2/)
|
326 |
-
|
327 |
-
= 2.24 =
|
328 |
-
Compatible with wordpress 3.4.2
|
329 |
-
|
330 |
= 2.1 =
|
331 |
Default view changed to Colorbox due to the license regulation by the plugin directory.
|
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, bing, WP Lightbox, AJAX, image, photo, picture, JQuery WP Image Plugin, colorbox
|
6 |
+
Requires at least: 2.8
|
7 |
+
Tested up to: 3.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 |
+
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 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 |
+
Feature:
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
1. Works on all modern browsers.
|
21 |
2. Group related images in post and navigate through them with ease.
|
23 |
4. No configuration required.
|
24 |
5. 5 Inbuilt theme.
|
25 |
6. Lightbox display of Gallery.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
|
|
27 |
<br />
|
28 |
+
[Author Site](http://onlinewebapplication.com)|
|
29 |
+
[Plugin Home Page](http://onlinewebapplication.com/2011/11/wp-lightbox-2.html)
|
30 |
<br />
|
31 |
<br />
|
32 |
== Installation ==
|
40 |
5. Optionally, go to the Options page and select a new Lightbox colour scheme.
|
41 |
|
42 |
<br />
|
43 |
+
[How to use WP Lighbox 2](http://onlinewebapplication.com/2012/08/how-to-use-wp-lightbox-2-wordpress-plugin.html)<br />
|
44 |
+
|
|
|
|
|
45 |
== Frequently Asked Questions ==
|
|
|
46 |
|
47 |
Question: Why does not plugin is working for me?
|
48 |
|
60 |
Answer: Yes it does. The problem is with your WordPress theme, mangling image display properties. Use another theme, or change your theme`s Cascading Style Sheets (CSS).
|
61 |
|
62 |
<br />
|
63 |
+
You can check more FAQ on plugin website URL :<br />
|
64 |
+
[WP Lightbox 2](http://onlinewebapplication.com/2011/11/wp-lightbox-2.html)<br />
|
|
|
65 |
|
|
|
66 |
|
67 |
== Screenshots ==
|
|
|
68 |
|
69 |
You can check Screen Shots on plugin website URL :<br />
|
70 |
+
[WP Lightbox 2](http://onlinewebapplication.com/2011/11/wp-lightbox-2.html)<br />
|
|
|
71 |
|
72 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
= 2.2 =
|
|
|
74 |
* Bug Fixed [Can't install update](http://wordpress.org/support/topic/plugin-wp-lightbox-2-cant-installa-update).
|
75 |
|
76 |
= 2.1 =
|
|
|
77 |
* Default view changed to Colorbox due to the license regulation by the plugin directory.
|
78 |
|
79 |
= 2.0 =
|
|
|
80 |
* List versions.
|
81 |
* Works on all modern browsers.
|
82 |
* Group related images in post and navigate through them with ease.
|
87 |
|
88 |
== Upgrade Notice ==
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
= 2.1 =
|
91 |
Default view changed to Colorbox due to the license regulation by the plugin directory.
|
wp-lightbox-2.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/**
|
2 |
* Plugin Name: WP Lightbox 2
|
3 |
-
* Plugin URI: http://
|
4 |
* Description: This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog.
|
5 |
-
* Version: 2.
|
6 |
* Author: Pankaj Jha
|
7 |
* Author URI: http://onlinewebapplication.com/
|
8 |
* License: GNU General Public License, v2 (or newer)
|
@@ -91,24 +91,6 @@
|
|
91 |
};
|
92 |
//allow image to reposition & scale if orientation change or resize occurs.
|
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);
|
@@ -122,7 +104,7 @@
|
|
122 |
pgDocHeight = 4096;
|
123 |
}
|
124 |
var viewportHeight = $(window).height() - opts.adminBarHeight;
|
125 |
-
//$(document).width() returns width of HTML document
|
126 |
return new Array($(document).width(), pgDocHeight, $(window).width(), viewportHeight, $(document).height());
|
127 |
};
|
128 |
//code for IE8 check provided by http://kangax.github.com/cft/
|
@@ -155,7 +137,7 @@
|
|
155 |
}
|
156 |
return new Array(xScroll, yScroll);
|
157 |
};
|
158 |
-
|
159 |
function start(imageLink) {
|
160 |
$("select, embed, object").hide();
|
161 |
var arrayPageSize = getPageSize();
|
@@ -308,7 +290,7 @@
|
|
308 |
$('#lightboxImage').width(newWidth).height(newHeight);
|
309 |
resizeImageContainer(newWidth, newHeight, newTop, newLeft);
|
310 |
}
|
311 |
-
|
312 |
function resizeImageContainer(imgWidth, imgHeight, lightboxTop, lightboxLeft) {
|
313 |
opts.widthCurrent = $("#outerImageContainer").outerWidth();
|
314 |
opts.heightCurrent = $("#outerImageContainer").outerHeight();
|
1 |
/**
|
2 |
* Plugin Name: WP Lightbox 2
|
3 |
+
* Plugin URI: http://onlinewebapplication.com/2011/11/wp-lightbox-2.html
|
4 |
* Description: This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog.
|
5 |
+
* Version: 2.2
|
6 |
* Author: Pankaj Jha
|
7 |
* Author URI: http://onlinewebapplication.com/
|
8 |
* License: GNU General Public License, v2 (or newer)
|
91 |
};
|
92 |
//allow image to reposition & scale if orientation change or resize occurs.
|
93 |
/*2.21 - Image Map, Shrink large images to fit smaller screens*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
function resizeListener(e) {
|
95 |
if (opts.resizeTimeout) {
|
96 |
clearTimeout(opts.resizeTimeout);
|
104 |
pgDocHeight = 4096;
|
105 |
}
|
106 |
var viewportHeight = $(window).height() - opts.adminBarHeight;
|
107 |
+
//$(document).width() returns width of HTML document
|
108 |
return new Array($(document).width(), pgDocHeight, $(window).width(), viewportHeight, $(document).height());
|
109 |
};
|
110 |
//code for IE8 check provided by http://kangax.github.com/cft/
|
137 |
}
|
138 |
return new Array(xScroll, yScroll);
|
139 |
};
|
140 |
+
|
141 |
function start(imageLink) {
|
142 |
$("select, embed, object").hide();
|
143 |
var arrayPageSize = getPageSize();
|
290 |
$('#lightboxImage').width(newWidth).height(newHeight);
|
291 |
resizeImageContainer(newWidth, newHeight, newTop, newLeft);
|
292 |
}
|
293 |
+
|
294 |
function resizeImageContainer(imgWidth, imgHeight, lightboxTop, lightboxLeft) {
|
295 |
opts.widthCurrent = $("#outerImageContainer").outerWidth();
|
296 |
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://
|
5 |
-
* Description:
|
6 |
-
* Version:
|
7 |
-
* Author:
|
8 |
-
* Author URI: http://
|
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
|
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
|
@@ -25,37 +25,7 @@
|
|
25 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26 |
*/
|
27 |
|
28 |
-
|
29 |
-
/*2.22 - Fixed one s, that caused a fatal error*/
|
30 |
-
/*2.23 - Updated jQuery calls for faster load*/
|
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,8 +41,8 @@ function jqlb_init() {
|
|
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('
|
75 |
-
add_action('
|
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,7 +211,7 @@ function jqlb_options_panel(){
|
|
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 |
-
|
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,10 +279,10 @@ _top: open the image in the full body of the window', 'jqlb') ?>"><?php _e('Targ
|
|
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
|
316 |
}
|
317 |
echo $text;
|
318 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: WP Lightbox 2
|
4 |
+
* Plugin URI: http://onlinewebapplication.com/2011/11/wp-lightbox-2.html
|
5 |
+
* Description: This plugin used to add the lightbox (overlay) effect to the current page images on your WordPress blog.
|
6 |
+
* Version: 2.2
|
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
|
25 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26 |
*/
|
27 |
|
28 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
add_action( 'plugins_loaded', 'jqlb_init' );
|
30 |
function jqlb_init() {
|
31 |
if(!defined('ULFBEN_DONATE_URL')){
|
41 |
//load_plugin_textdomain('jqlb', false, plugin_dir_path(__FILE__).'I18n/');
|
42 |
add_action('admin_init', 'jqlb_register_settings');
|
43 |
add_action('admin_menu', 'jqlb_register_menu_item');
|
44 |
+
add_action('wp_print_styles', 'jqlb_css');
|
45 |
+
add_action('wp_print_scripts', 'jqlb_js');
|
46 |
add_filter('plugin_row_meta', 'jqlb_set_plugin_meta', 2, 10);
|
47 |
add_filter('the_content', 'jqlb_autoexpand_rel_wlightbox', 99);
|
48 |
if(get_option('jqlb_comments') == 1){
|
211 |
<?php $check = get_option('jqlb_show_download') ? ' checked="yes" ' : ''; ?>
|
212 |
<input type="checkbox" id="jqlb_show_download" name="jqlb_show_download" value="1" <?php echo $check; ?> />
|
213 |
<label for="jqlb_show_download"> <?php _e('Show download link', 'jqlb') ?> </label>
|
214 |
+
</td>
|
215 |
<td>
|
216 |
<?php $target = get_option('jqlb_link_target'); ?>
|
217 |
<label for="jqlb_link_target" title="<?php _e('_blank: open the image in a new window or tab
|
279 |
$text = @file($diskfile);
|
280 |
if($text !== false){
|
281 |
$text = implode("", $text);
|
282 |
+
}
|
283 |
}
|
284 |
if($text === false){
|
285 |
+
$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 plugin.</p>';
|
286 |
}
|
287 |
echo $text;
|
288 |
?>
|