Topic: Gallery properties in config.php file?

Hi there. I'm a new user of JuiceboxPro and I am trying to implement it on a new (responsive) website I am currently building. The normal procedure (producing the gallery locally and then upload) works fine but I would like to be able to just upload my pictures to a certain folder without having to produce the gallerys over and over again. I made a config.php file as you described in an earlier post and uploaded it. It finds the pictures in the folder and shows them, so that is fine. But now all the properties that were in the config.xml file are not working anymore. Is there a way to get these working again?

Re: Gallery properties in config.php file?

If you are referring to the code in this forum post, then you can add your gallery's configuration options as attributes to the opening <juiceboxgallery > tag.
For example, you could change the line:

echo '<juiceboxgallery galleryTitle="Juicebox Gallery">';

... to something like:

echo '<juiceboxgallery galleryTitle="Juicebox Gallery thumbsPosition="TOP" autoPlayOnLoad="TRUE" captionPosition="BELOW_IMAGE">';

Alternatively, you can set configuration options in the JavaScript embedding code as noted here.