3443 Posts in 1030 Topics by 871 members
|Go to End|
18 May 2010 at 8:41pm
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()
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_more_config("AnimationSpeed: 'slow', opacity: 0.30, showTitle: false");
19 May 2010 at 9:28pm
solved: the PrettyPhoto.php file doesn't include jquery, so i've included it by myself.
27 May 2010 at 3:36am
How did you include the jquery in the prettyphoto.php? I am totally green with PHP and wouldn't know how to do this.
|Go to Top|