Twiebie |
|
---|---|
Try this:
Add the fancybox files to skins/yourskin/fancybox
Include the necessary files in your header.tpl like this: <link href="skins/{PHP.skin}/fancybox/jquery.fancybox.css" type="text/css" rel="stylesheet" / > <script type="text/javascript" src="skins/{PHP.skin}/fancybox/jquery.fancybox.pack.js"></script> <script type="text/javascript"> $().ready(function() { $(".fancybox").fancybox(); }); </script> You also need to add the fancybox class to the img bb code, try it out first with simply adding an image like this somewhere in your theme to see if it works: <a class="fancybox" href="linktoimage.png"><img src="linktoimage.png" alt=""/></a> |