Description
FancyBox for WordPress is a WP plugin that uses jQuery to display images when clicked, without reloading the page. It uses FancyBox by Janis Skarnelis.
Installation
- Decompress fancybox-for-wordpress.zip to your desktop
- Upload fancybox-for-wordpress folder to the plugins directory in your blog’s FTP, like this:
yourblog.com/wp-content/plugins/fancybox-for-wordpress/
- Activate the plugin
How to use the plugin
Actually you’re done! Once activated, each time you load your blog, the plugin will your search for direct links to JPG, PNG or GIF images and will apply the effect on them. The FancyBox effecto won’t be applied to text link though, only images linking to images.
More info
For a changelog, todo list, and more information, go to the plugin page in WordPress.org.
Images Demo
Here’s simple WordPress gallery, no code has been edited, the FancyBox for WordPress looks the code generated by WordPress and figures the rest out based on the options you set in the plugin’s admin page.
Content Demos
And here there are a few links featuring other FancyBox uses: Iframe content, Inline content and Ajax calls. Below each link you will find the code used to make it happen.
This link displays some Ajax data
<a class="fancybox" href="../../../descargas/ajax.txt">This link displays some Ajax data</a>
This link opens another page in an Iframe
<a class="fancybox iframe" href="http://www.google.com/">This link opens another page in an Iframe</a>
This link shows some inline content in a FancyBox window
<a class="fancybox" href="#testube">This link shows some inline content in a FancyBox window</a>
<div style="display:none" id="testube">
<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/01C4RPEinM4&hl=es&fs=1&color1=0x006699&color2=0x54abd6"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/01C4RPEinM4&hl=es&fs=1&color1=0x006699&color2=0x54abd6"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed>
</object>
</div>
If you want to keep up to date with this plugin you can follow me on Twitter
Download
FancyBox for WordPress at WordPress.org Plugins






Fancybox for WordPress recently stopped working on my blog, after working perfectly for a while. I deactivated any plugins that might be competing, but that didn’t help. Can someone take a look and see why this might have happened? Here’s a link to a gallery that’s no longer working:
http://shalomimages.com/2010/04/the-labyrinth-of-jareth/
Thanks!
Hi this is really a great plugin.
I’d like fancybox to autostart an iframe link on page load.
Saw this below but don’t really know how to implement it in the plugin.
jQuery(document).ready(function() {
$(“#your_selector”).trigger(‘click’);
});
Can you help me out?
I want to add a magnifying Glass on Images when mouse hovers
Example :
http://www.nouveller.com/jquery/how-to-add-a-magnifying-glass-to-your-lightbox-enabled-images/
Thanks for this plugin, is exactly what I needed.
Thanks.
Thanks for the great plugin mate… been using it for a while now and it’s working great on my site.
Muchas gracias por el plugin, he a usado por un buen tiempo ya…. bien hecho.
Cheers
Jeff Ballweg // Christchurch NZ.
Hi!
Tried it but did not work although I tried it with all plugins deactivated
So I went back to auto-thickbox that works great but would have like to try Fancy-Box…
Roger
Very nice plugin, thank you!
Hi!
Is it possible to have the mousewheel effect in the plugin ?
See “If the mouse wheel plugin is included in the page then FancyBox will respond to mouse wheel events as well” from the http://fancybox.net/home
Es posible tener este efecto “mousewheel” como funciona aqui http://fancybox.net/home
Le agradescaria mucho una respuesta!
Adios, Sebastian
1.7.2 is broken in WP 3(RC3-15241), which you probably already know. Looking forward for an update though!
Hi, Great plugin, do you have any plan to update it to Fancybox 1.3.1? I want to load PDF’s in iframe but 1.2.6 doesnt support it.
excelente plugin, lo usamos en Antofacity.com con wordpress 3.0 y funciona genial. felicitaciones
Does this only works on images which are linked using
< a >tag or any image? Also with images that are uplaoded on same sever or form otehr sites?Hi, can i get for you Russian translation mfbfw-ru_RU.po ?