3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2074 Views |
-
PrettyPhoto install

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()
{
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
-
Re: PrettyPhoto install

19 May 2010 at 9:28pm
solved: the PrettyPhoto.php file doesn't include jquery, so i've included it by myself.
bye
-
Re: PrettyPhoto install

27 May 2010 at 3:36am
Hello:
How did you include the jquery in the prettyphoto.php? I am totally green with PHP and wouldn't know how to do this.
tx
Wil
| 2074 Views | ||
|
Page:
1
|
Go to Top |

