Version Description
Download this release
Release Info
Developer | moskis |
Plugin | FancyBox for WordPress |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.5 to 2.5.1
- admin.php +2 -2
- fancybox.php +69 -68
- readme.txt +20 -13
admin.php
CHANGED
@@ -380,8 +380,8 @@ function mfbfw_options_page() {
|
|
380 |
<?php _e('Make a gallery for all images on the page (default)', 'mfbfw'); ?>
|
381 |
</label><br />
|
382 |
|
383 |
-
<input id="
|
384 |
-
<label for="
|
385 |
<?php _e('Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)', 'mfbfw'); ?>
|
386 |
</label><br />
|
387 |
|
380 |
<?php _e('Make a gallery for all images on the page (default)', 'mfbfw'); ?>
|
381 |
</label><br />
|
382 |
|
383 |
+
<input id="mfbfw_galleryTypeNone" type="radio" value="none" name="mfbfw_galleryType"<?php if ($settings['galleryType'] == 'none') echo ' checked="yes"';?> />
|
384 |
+
<label for="mfbfw_galleryTypeNone">
|
385 |
<?php _e('Do not group images in gallery automatically (use this if you want to make galleries manually with the <code>REL</code> attribute)', 'mfbfw'); ?>
|
386 |
</label><br />
|
387 |
|
fancybox.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: FancyBox for WordPress
|
4 |
Plugin URI: http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/
|
5 |
Description: Integrates <a href="http://fancy.klade.lv/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress.
|
6 |
-
Version: 2.5
|
7 |
Author: Jose Pardilla
|
8 |
Author URI: http://moskis.net/
|
9 |
*/
|
@@ -12,7 +12,7 @@ Author URI: http://moskis.net/
|
|
12 |
// When plugin is activated, update version, and set any new settings to default
|
13 |
function mfbfw_install() {
|
14 |
|
15 |
-
update_option('mfbfw_active_version', '2.5');
|
16 |
|
17 |
add_option('mfbfw_borderColor', '#BBBBBB');
|
18 |
add_option('mfbfw_closeHorPos', 'right');
|
@@ -205,13 +205,13 @@ function mfbfw_init() {
|
|
205 |
|
206 |
<script type="text/javascript">
|
207 |
|
208 |
-
<?php if ($settings['jQnoConflict']) { ?>
|
209 |
|
210 |
jQuery(function(){
|
211 |
|
212 |
-
<?php // This copies the title of every IMG tag and
|
213 |
jQuery.fn.getTitle = function() {
|
214 |
-
var arr = jQuery("a
|
215 |
jQuery.each(arr, function() {
|
216 |
var title = jQuery(this).children("img").attr("title");
|
217 |
jQuery(this).attr('title',title);
|
@@ -223,71 +223,71 @@ function mfbfw_init() {
|
|
223 |
// Gallery type BY POST and we are on post or page (so only one post or page is visible)
|
224 |
if ( is_single() | is_page() ) { ?>
|
225 |
|
226 |
-
jQuery("a:has(img)[href$='.jpg']").attr({ rel: "fancybox" }).getTitle();
|
227 |
-
jQuery("a:has(img)[href$='.jpeg']").attr({ rel: "fancybox" }).getTitle();
|
228 |
-
jQuery("a:has(img)[href$='.gif']").attr({ rel: "fancybox" }).getTitle();
|
229 |
-
jQuery("a:has(img)[href$='.png']").attr({ rel: "fancybox" }).getTitle();
|
230 |
-
jQuery("a:has(img)[href$='.bmp']").attr({ rel: "fancybox" }).getTitle();
|
231 |
|
232 |
<?php }
|
233 |
|
234 |
// Gallery type BY POST, but we are neither on post or page, so we make a different rel attribute on each post
|
235 |
else { ?>
|
236 |
|
237 |
-
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox1').getTitle();
|
238 |
-
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox2').getTitle();
|
239 |
-
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox3').getTitle();
|
240 |
-
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox4').getTitle();
|
241 |
-
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox5').getTitle();
|
242 |
-
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox6').getTitle();
|
243 |
-
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox7').getTitle();
|
244 |
-
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox8').getTitle();
|
245 |
-
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox9').getTitle();
|
246 |
-
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.jpg']").attr('rel','fancybox10').getTitle();
|
247 |
-
|
248 |
-
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox1').getTitle();
|
249 |
-
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox2').getTitle();
|
250 |
-
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox3').getTitle();
|
251 |
-
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox4').getTitle();
|
252 |
-
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox5').getTitle();
|
253 |
-
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox6').getTitle();
|
254 |
-
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox7').getTitle();
|
255 |
-
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox8').getTitle();
|
256 |
-
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox9').getTitle();
|
257 |
-
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.jpeg']").attr('rel','fancybox10').getTitle();
|
258 |
-
|
259 |
-
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox1').getTitle();
|
260 |
-
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox2').getTitle();
|
261 |
-
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox3').getTitle();
|
262 |
-
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox4').getTitle();
|
263 |
-
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox5').getTitle();
|
264 |
-
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox6').getTitle();
|
265 |
-
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox7').getTitle();
|
266 |
-
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox8').getTitle();
|
267 |
-
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox9').getTitle();
|
268 |
-
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.gif']").attr('rel','fancybox10').getTitle();
|
269 |
-
|
270 |
-
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox1').getTitle();
|
271 |
-
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox2').getTitle();
|
272 |
-
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox3').getTitle();
|
273 |
-
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox4').getTitle();
|
274 |
-
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox5').getTitle();
|
275 |
-
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox6').getTitle();
|
276 |
-
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox7').getTitle();
|
277 |
-
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox8').getTitle();
|
278 |
-
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox9').getTitle();
|
279 |
-
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.png']").attr('rel','fancybox10').getTitle();
|
280 |
-
|
281 |
-
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox1').getTitle();
|
282 |
-
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox2').getTitle();
|
283 |
-
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox3').getTitle();
|
284 |
-
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox4').getTitle();
|
285 |
-
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox5').getTitle();
|
286 |
-
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox6').getTitle();
|
287 |
-
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox7').getTitle();
|
288 |
-
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox8').getTitle();
|
289 |
-
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox9').getTitle();
|
290 |
-
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.bmp']").attr('rel','fancybox10').getTitle();
|
291 |
|
292 |
<?php }
|
293 |
|
@@ -370,10 +370,11 @@ function mfbfw_admin_head() {
|
|
370 |
// Hide Custom Expresion textarea if not needed
|
371 |
var galleryType = jQuery("input:radio[name=mfbfw_galleryType]:checked").val();
|
372 |
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
|
|
377 |
}
|
378 |
|
379 |
jQuery("#mfbfw_galleryTypeAll").click(function () {
|
3 |
Plugin Name: FancyBox for WordPress
|
4 |
Plugin URI: http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/
|
5 |
Description: Integrates <a href="http://fancy.klade.lv/">FancyBox</a> by <a href="http://klade.lv/">Janis Skarnelis</a> into WordPress.
|
6 |
+
Version: 2.5.1
|
7 |
Author: Jose Pardilla
|
8 |
Author URI: http://moskis.net/
|
9 |
*/
|
12 |
// When plugin is activated, update version, and set any new settings to default
|
13 |
function mfbfw_install() {
|
14 |
|
15 |
+
update_option('mfbfw_active_version', '2.5.1');
|
16 |
|
17 |
add_option('mfbfw_borderColor', '#BBBBBB');
|
18 |
add_option('mfbfw_closeHorPos', 'right');
|
205 |
|
206 |
<script type="text/javascript">
|
207 |
|
208 |
+
<?php if ($settings['jQnoConflict']) { ?>jQuery.noConflict();<?php } echo "\n" ?>
|
209 |
|
210 |
jQuery(function(){
|
211 |
|
212 |
+
<?php // This copies the title of every IMG tag and adds it to its parent A so that fancybox can use it ?>
|
213 |
jQuery.fn.getTitle = function() {
|
214 |
+
var arr = jQuery("a.fancybox");
|
215 |
jQuery.each(arr, function() {
|
216 |
var title = jQuery(this).children("img").attr("title");
|
217 |
jQuery(this).attr('title',title);
|
223 |
// Gallery type BY POST and we are on post or page (so only one post or page is visible)
|
224 |
if ( is_single() | is_page() ) { ?>
|
225 |
|
226 |
+
jQuery("a:has(img)[href$='.jpg']").addClass("fancybox").attr({ rel: "fancybox" }).getTitle();
|
227 |
+
jQuery("a:has(img)[href$='.jpeg']").addClass("fancybox").attr({ rel: "fancybox" }).getTitle();
|
228 |
+
jQuery("a:has(img)[href$='.gif']").addClass("fancybox").attr({ rel: "fancybox" }).getTitle();
|
229 |
+
jQuery("a:has(img)[href$='.png']").addClass("fancybox").attr({ rel: "fancybox" }).getTitle();
|
230 |
+
jQuery("a:has(img)[href$='.bmp']").addClass("fancybox").attr({ rel: "fancybox" }).getTitle();
|
231 |
|
232 |
<?php }
|
233 |
|
234 |
// Gallery type BY POST, but we are neither on post or page, so we make a different rel attribute on each post
|
235 |
else { ?>
|
236 |
|
237 |
+
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox1').getTitle();
|
238 |
+
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox2').getTitle();
|
239 |
+
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox3').getTitle();
|
240 |
+
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox4').getTitle();
|
241 |
+
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox5').getTitle();
|
242 |
+
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox6').getTitle();
|
243 |
+
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox7').getTitle();
|
244 |
+
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox8').getTitle();
|
245 |
+
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox9').getTitle();
|
246 |
+
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.jpg']").addClass("fancybox").attr('rel','fancybox10').getTitle();
|
247 |
+
|
248 |
+
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox1').getTitle();
|
249 |
+
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox2').getTitle();
|
250 |
+
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox3').getTitle();
|
251 |
+
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox4').getTitle();
|
252 |
+
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox5').getTitle();
|
253 |
+
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox6').getTitle();
|
254 |
+
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox7').getTitle();
|
255 |
+
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox8').getTitle();
|
256 |
+
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox9').getTitle();
|
257 |
+
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.jpeg']").addClass("fancybox").attr('rel','fancybox10').getTitle();
|
258 |
+
|
259 |
+
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox1').getTitle();
|
260 |
+
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox2').getTitle();
|
261 |
+
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox3').getTitle();
|
262 |
+
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox4').getTitle();
|
263 |
+
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox5').getTitle();
|
264 |
+
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox6').getTitle();
|
265 |
+
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox7').getTitle();
|
266 |
+
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox8').getTitle();
|
267 |
+
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox9').getTitle();
|
268 |
+
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.gif']").addClass("fancybox").attr('rel','fancybox10').getTitle();
|
269 |
+
|
270 |
+
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox1').getTitle();
|
271 |
+
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox2').getTitle();
|
272 |
+
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox3').getTitle();
|
273 |
+
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox4').getTitle();
|
274 |
+
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox5').getTitle();
|
275 |
+
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox6').getTitle();
|
276 |
+
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox7').getTitle();
|
277 |
+
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox8').getTitle();
|
278 |
+
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox9').getTitle();
|
279 |
+
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.png']").addClass("fancybox").attr('rel','fancybox10').getTitle();
|
280 |
+
|
281 |
+
jQuery('.post:eq(0)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox1').getTitle();
|
282 |
+
jQuery('.post:eq(1)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox2').getTitle();
|
283 |
+
jQuery('.post:eq(2)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox3').getTitle();
|
284 |
+
jQuery('.post:eq(3)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox4').getTitle();
|
285 |
+
jQuery('.post:eq(4)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox5').getTitle();
|
286 |
+
jQuery('.post:eq(5)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox6').getTitle();
|
287 |
+
jQuery('.post:eq(6)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox7').getTitle();
|
288 |
+
jQuery('.post:eq(7)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox8').getTitle();
|
289 |
+
jQuery('.post:eq(8)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox9').getTitle();
|
290 |
+
jQuery('.post:eq(9)').contents().find("a:has(img)[href$='.bmp']").addClass("fancybox").attr('rel','fancybox10').getTitle();
|
291 |
|
292 |
<?php }
|
293 |
|
370 |
// Hide Custom Expresion textarea if not needed
|
371 |
var galleryType = jQuery("input:radio[name=mfbfw_galleryType]:checked").val();
|
372 |
|
373 |
+
switch (galleryType) {
|
374 |
+
case "all":
|
375 |
+
case "none":
|
376 |
+
case "post":
|
377 |
+
jQuery("#customExpressionBlock").css("display", "none");
|
378 |
}
|
379 |
|
380 |
jQuery("#mfbfw_galleryTypeAll").click(function () {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.asmallorange.com/extras/donate/?id=10218
|
|
4 |
Tags: fancybox, lightbox, jquery, image, gallery
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 2.7.1
|
7 |
-
Stable tag: 2.5
|
8 |
|
9 |
Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. No further configuration needed. However, you can customize it from the Options Page if you like... :)
|
10 |
|
@@ -22,13 +22,20 @@ Finally, i have only tested the plugin in WordPress 2.7, so it's very recomended
|
|
22 |
|
23 |
= Changelog =
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
2.5 Updates:
|
26 |
|
27 |
* Support for localizations (Spanish and German localizations included)
|
28 |
* Some parts of the code completely rewritten
|
29 |
* Fixed fancybox files being loaded on the admin pages
|
30 |
* New options for close button position, custom jquery expressions, iframe content
|
31 |
-
* Options page mostly rewritten, better organized
|
32 |
* Medium/advanced, troubleshooting/uninstall options collapsable, hidden by default
|
33 |
* Better support guidelines and links on options page
|
34 |
* Settings link on the Manage plugins page
|
@@ -41,9 +48,9 @@ Finally, i have only tested the plugin in WordPress 2.7, so it's very recomended
|
|
41 |
2.2 Updtades:
|
42 |
|
43 |
* Updated to FancyBox 1.2.1
|
44 |
-
* Added new settings to Options Page: Easing, padding size, border color
|
45 |
-
* Tweaked CSS to prevent some themes from adding unwanted styles to fancybox (especially background colors and link outlines)
|
46 |
-
* Options Page reorganized in three sections: Appearance, Behaviour and Troubleshooting Settings, to make settings easier to find
|
47 |
|
48 |
|
49 |
2.1.1 Updtades:
|
@@ -53,14 +60,14 @@ Finally, i have only tested the plugin in WordPress 2.7, so it's very recomended
|
|
53 |
|
54 |
2.1 Updtades:
|
55 |
|
56 |
-
* Fixed a major bug in 2.0 that prevented it from working until plugin's options page was visited
|
57 |
-
* Added two options for troubleshooting that might help in some cases if the plugin doesn't work: disable jQuery noConflict and skip jQuery call
|
58 |
-
* Additional fixes to caption CSS: Captions should look better now in Hybrid theme, child themes, and other situations where general table elements are improperly styled
|
59 |
|
60 |
|
61 |
2.0 Updates:
|
62 |
|
63 |
-
* Brand new Options Page in Admin Panel lets you easely customize many options: fancybox auto apply, image resize to fit, opacity fade while zooming, zoom speed, overlay on/off, overlay color, overlay opacity, close fancybox on image click, keep fancybox centered while scrolling
|
64 |
* CSS completely updated for FancyBox 1.2.0
|
65 |
* Captions fixed in IE
|
66 |
|
@@ -93,14 +100,14 @@ Finally, i have only tested the plugin in WordPress 2.7, so it's very recomended
|
|
93 |
1. Upload the `fancybox-for-wordpress` folder to the `/wp-content/plugins/` directory
|
94 |
2. Activate the plugin through the 'Plugins' menu in WordPress
|
95 |
3. That's it, [FancyBox](http://fancy.klade.lv/) will be automatically applied to all your image links and galleries.
|
96 |
-
4. If you want to customize a bit the look and feel of FancyBox, go to the Options Page under General Options in the WordPress Admin panel
|
97 |
|
98 |
|
99 |
== Screenshots ==
|
100 |
|
101 |
-
1. Simple example of fancybox on a post. [Live demo here](http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/)
|
102 |
-
2. Basic settings on Options Page in the Admin Panel. This makes it very easy to customize the plugin to your needs
|
103 |
-
2. Full settings on Options Page
|
104 |
|
105 |
|
106 |
== Frequently Asked Questions ==
|
4 |
Tags: fancybox, lightbox, jquery, image, gallery
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 2.7.1
|
7 |
+
Stable tag: 2.5.1
|
8 |
|
9 |
Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. No further configuration needed. However, you can customize it from the Options Page if you like... :)
|
10 |
|
22 |
|
23 |
= Changelog =
|
24 |
|
25 |
+
2.5.1 Updates:
|
26 |
+
|
27 |
+
* Fixed the plugin not working when selecting Gallery Type "By Post"
|
28 |
+
* Fixed a bug that would prevent the title in the IMG tag from being copied to the A tag in some cases
|
29 |
+
* Fixed the Custom Expression showing in the Admin panel when other gallery types are selected
|
30 |
+
|
31 |
+
|
32 |
2.5 Updates:
|
33 |
|
34 |
* Support for localizations (Spanish and German localizations included)
|
35 |
* Some parts of the code completely rewritten
|
36 |
* Fixed fancybox files being loaded on the admin pages
|
37 |
* New options for close button position, custom jquery expressions, iframe content
|
38 |
+
* Options page mostly rewritten, better organized
|
39 |
* Medium/advanced, troubleshooting/uninstall options collapsable, hidden by default
|
40 |
* Better support guidelines and links on options page
|
41 |
* Settings link on the Manage plugins page
|
48 |
2.2 Updtades:
|
49 |
|
50 |
* Updated to FancyBox 1.2.1
|
51 |
+
* Added new settings to Options Page: Easing, padding size, border color
|
52 |
+
* Tweaked CSS to prevent some themes from adding unwanted styles to fancybox (especially background colors and link outlines)
|
53 |
+
* Options Page reorganized in three sections: Appearance, Behaviour and Troubleshooting Settings, to make settings easier to find
|
54 |
|
55 |
|
56 |
2.1.1 Updtades:
|
60 |
|
61 |
2.1 Updtades:
|
62 |
|
63 |
+
* Fixed a major bug in 2.0 that prevented it from working until plugin's options page was visited
|
64 |
+
* Added two options for troubleshooting that might help in some cases if the plugin doesn't work: disable jQuery noConflict and skip jQuery call
|
65 |
+
* Additional fixes to caption CSS: Captions should look better now in Hybrid theme, child themes, and other situations where general table elements are improperly styled
|
66 |
|
67 |
|
68 |
2.0 Updates:
|
69 |
|
70 |
+
* Brand new Options Page in Admin Panel lets you easely customize many options: fancybox auto apply, image resize to fit, opacity fade while zooming, zoom speed, overlay on/off, overlay color, overlay opacity, close fancybox on image click, keep fancybox centered while scrolling
|
71 |
* CSS completely updated for FancyBox 1.2.0
|
72 |
* Captions fixed in IE
|
73 |
|
100 |
1. Upload the `fancybox-for-wordpress` folder to the `/wp-content/plugins/` directory
|
101 |
2. Activate the plugin through the 'Plugins' menu in WordPress
|
102 |
3. That's it, [FancyBox](http://fancy.klade.lv/) will be automatically applied to all your image links and galleries.
|
103 |
+
4. If you want to customize a bit the look and feel of FancyBox, go to the Options Page under General Options in the WordPress Admin panel
|
104 |
|
105 |
|
106 |
== Screenshots ==
|
107 |
|
108 |
+
1. Simple example of fancybox on a post. [Live demo here](http://blog.moskis.net/downloads/plugins/fancybox-for-wordpress/)
|
109 |
+
2. Basic settings on Options Page in the Admin Panel. This makes it very easy to customize the plugin to your needs
|
110 |
+
2. Full settings on Options Page
|
111 |
|
112 |
|
113 |
== Frequently Asked Questions ==
|