FancyBox – Fancy image zooming tool
6 Comments 4th JUN 2008 | Posted by Tomislav Bilic in Tools

There are many Lightbox clones this days. Some are fancier, some are lighter, some use jQuery, some do not. In this wast set of options, I found one I think I will prefer from today: FancyBox – fancy image zooming tool
It is based on jQuery and is a cool alternative to existing solutions. Here are some features:
- Automatically scales large images to fit in window
- Adds a nice drop shadow under the zoomed item
- Groups related items and adds navigation through them (uses preloading)
- Can display images, inline and iframed content
- Customizable through settings and CSS
Other Lightbox alternatives I found are:
- Lightview
- prettyPhoto
- Slimbox
- Highslide
- LightWindow
- Thickbox
- and many more; full comparison can be found at The Lightbox Clones Matrix
To post code in comments, place your code inside [code] and [/code] tags.

















June 8th, 2008 at 8:49
A different approach, but I don’t think it’d work well on all sites (like Lightbox does) because it doesn’t darken the rest of the page, just adds a small dropshadow, and this won’t make enough contrast between certain images and webpages.
One of my favorite lightbox clones is Thickbox, except I can’t remember at the moment why I chose Lightbox over it on my site.
June 10th, 2008 at 7:25
Hi. You are correct about the contrast, but I believe that can be sorted custom via CSS. I’ll give it a try in the next few days and see how it goes. Btw. Thanks for Thickbox note. I forgot about it although I have used it before. I added it to the list now!
November 5th, 2008 at 20:01
Hello,
is there any tutorial to plug in The FanyBox in Magento?
Thank you for your answer.
Radi
December 8th, 2008 at 12:50
Hi Radi,
Sorry for late reply. I didn’t notice your question before. Although FancyBox looks great, it isn’t the best solution for Magento as it is based on jQuery framework. It is better that you try to find some prototype based zooming tool.
Btw. I encountered one similar looking once called FancyZoom: http://www.cabel.name/2008/02/fancyzoom-10.html This one doesn’t not require any library for using.
August 1st, 2009 at 11:50
Hi Tomislav –
I know this thread is a long time ago!
However I came across it when trying to find how to incorporate FancyBox into Magento-
Is there a reason would you advise against using a jQuery dependant lightbox, does it slow it down?
Thanks in advance-
Shaun
August 1st, 2009 at 14:16
Hey Shaun,
jQuery is very demanding with the JS requirements. Since Magento is built upon Prototype, the file burden of including both libraries are better to be avoided in our opinion.