Hi,
First - great script and thanks for sharing it with everyone. I am a Slideshow Pro Director/Player user who is also looking to use Director to manage content and Juicebox to display it. I ran into an issue and have a question or two so hopefully someone can help...
1) I followed the instructions to a T and have had partial success. The config.php script runs successfully and the config.xml based on my SSP Director content is created. However it does not pass the newly generated config.xml through to Juicebox - the slideshow never appears and I am left with the spinner. I know the config.xml generated from SSP Director is created properly because I can re-set the configURL to 'config.xml' and the SSP Director content loads fine. I am no coder but it seems like there might be something missing at the end of the config.php script posted that will echo the newly created config.xml path so it loads? Any thoughts?
2) I wanted to make one tweak to the SSP configURL posted here and was hoping someone could help. I am hoping to structure my setup as follows:
-Index page that contains a series of links to albums. The links pass the album variable via php through the url. Example link:
http://www.mydomainname.com/portfolio.viewer.php?album=11
-Viewer page that contains one Juicebox instance. The embed code takes the album variable from the url. Example:
configUrl : 'config.php?album=(GET ALBUM NUMBER FROM URL)&w=800&h=600&s=0&q=80&sh=1&tw=100&th=100&ts=0&tlw=50&tlh=50&tq=60&tsh=1&pw=54&ph=40&aps=0&baseURL=http%3A%2F%2Fdomain.name%2Fssp_director'
I am wondering what I would have to change in the configUrl (where I wrote (GET ALBUM NUMBER FROM URL)) to make this happen? Something like: $ _GET["album"]? Would I wrap it in brackets or parenthesis? Not sure.
3) I was hoping that the original author of the script could post a link or explain what the variables in his configUrl mean in regards to what is being requested from SSP Director. I understand the basic ones like w (width) and h (height), but some of the others (pw and ph?) are a bit of a mystery. Also, are captions supported in the script? If not, could they be?
Great stuff and I hope to hear back - looking forward to getting this up and running. Thanks in advance,
-Nick
PS: You can see my current setup using SSP Director and SSP Flash Player here: http://www.nicholasbreslow.com/photography.html. It is basically the same setup as what I am going for in #2 above except I will be using Juicebox on the viewer page.