Usage
- Create a preset using the jQueryAdmin Admin Tool, by checking "Plugins" => "FancyBox"
- Save the preset in the jQueryAdmin presets folder (name it "fancybox", for example)
- Include the following code in your template or a code section on your page:
[[jQueryInclude?preset=<Presetname>]] - Add the rel="grouped_elements" attribute to the links pointing to your full-sized images
Example:
<a class="grouped_elements" rel="group1" href="image_big_1.jpg">
<img src="image_small_1.jpg" alt=""/>
</a>
YouTube Videos
To show YouTube videos in a "fancy" style, add the class="fancyyoutube" attribute to the link:<a href="http://www.youtube.com/watch?v=M-cIjPOJdFM&fs=1" class="fancyyoutube">See video</a>
For more setup options, see Fancybox Homepage.