Updated: Very fancy, indeed!
Love, Wordpress Hacks December 18, 2008 1,255 viewsEver tried that great fancyzoom thing? It gives clickalicious results like this:
Here is how you can set it up for your WordPress site:
- Download the Fancy Zoom package here

- Extract the archive and open FancyZoom.js from the
js-globalfolder. Search for line 44. It looks like this - Now upload the folder
js-globalandimages-globalinto your theme folder (e.g. wp-content/themes/yourthemename) - Open your
header.phpand add the following in the<head>section:
<script src="<?php bloginfo('template_directory'); ?>/js-global/FancyZoom.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/js-global/FancyZoomHTML.js" type="text/javascript"></script>
- Almost there! Now search for the
<body>tag and replace it with
<body onload=”setupZoom()”>
var zoomImagesURI = '/images-global/zoom/';
Now change this into
var zoomImagesURI = 'http://www.yourdomain.com/wp-content/themes/yourthemename/images-global/zoom/';
Save and close it.
Trackback? If you liked this article, subscribe.


November 29, 2008 at 01:44
Thank you for this! I have been trying to figure this out for a long time. However, my image directory doesn’t seem to be right?? Where are they supposed to go? Everything works except for where there is an image, it just shows a linkage problem. Thanks!
December 18, 2008 at 02:57
You’re right, Matt. I updated the instruction. Now everything should work out fine.
December 22, 2008 at 12:46
Just installed it on the blogging platform Of-Cour.se! and it all works fine.
Thanks a lot for making it happen!
Cheerio!