Hi all, i'm new here, hope this is the right section.
I'm trying to install PrettyPhoto module to add lightbox style to my images. The README file is not so clear; i've install the module, run dev/build and added the following code to my Page.php
public function init()
{
parent::init();
PrettyPhoto::include_code();
}
To my <a> tag i've also added:
<a href="$MyGalleryImage.URL" rel="prettyPhoto[gallery]"><img src="$MyGalleryImage.URL" width="120" /></a>
but it doesn't work.
I've also add this to my _config.php file (as suggested in the config file in the module)
PrettyPhoto::set_theme("dark_rounded");
PrettyPhoto::set_more_config("AnimationSpeed: 'slow', opacity: 0.30, showTitle: false");
Any suggestion?
Thanks
ed