Hi Guys,
First of all thanks in advance for your help, and congrats for those of you working on this magnificent piece of online software.
I'm building a photography website for someone, and am trying to display a slideshow of each album automatically (do not want or need thumbs).
I added this code in the body of my album.php
`
`
The result is the two first images of the album, in a row, with an error message saying :
[b]Warning: Invalid argument supplied for foreach() in /homez.56/instantdg/www/zenphoto/zp-core/template-functions.php on line 1012[/b]
Any idea on what it could be ? Again thanks a lot for your help.
Thanks for repyling so quickly.
The slideshow plugin is activated and works fine if i dont modify album.php and click on the slideshow link.
You can see it following this link :
http://instantdeviephoto.com/zenphoto/instantdeviephoto/mariage/
In both sub albums, it displays to two first images then the error displays
I could not reproduce the error regarding context but to get the slideshow to work you need to add to the of the page. It is not loaded automatically as the slideshow is normally displayed on the slideshow.php page (or if using the colorbox mode using that).
Now i realize i have to figure out how to display thumbnails for subalbums (which i will use), and none in the final albums that are actually containing images to display as a slideshow. Since it's the same album.php file for both, what do you think could be the trick ?
I don't understand what you mean with thumnials of subalbums. Instead of the album thumb? Then you will have to modify the theme and probably use the object model. See the user guide.
Also, the slideshow can only display images from one album. If you need a kind of collector you would have to use a dynamci album (see user guide as well). Otherwise you will have to adapt the plugin or use the jQuery Cycle script directly to build your own custom slideshow.