Hi all
Just wrote this php page that automatically generates a
slideshowpro XML file from zenphoto and includes all albums tagged as 'show.in.flash'. Many other things could be done with this.
http://www.frenchguys.com/gallery/?view=flashLet me know if you're interested.
Erik
Comments
I have great interest in this! I've been trying to implement something similar for a while now without success. I just recently discovered zenphoto and love it's simplicity (non-bloat) and power, but would love to front-end it with slideshowpro - with the option to view the gallery normally (like your archives). I hope you're still willing to share!
Chris
That was updated to work with 1.2.x
Let me know if you have any questions
I am interest in a slideshowpro-Plugin for Zenphoto. Do you are planing to do this?
I seem to be having a problem, however. SSP doesn't show anything and if I go to /gallery/ssp.php I get a mysql warning:
: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in (dir with-held)
Any ideas? Also, should the show.in.flash be a tag or a custom field?
I currently have a single album and it's tagged 'show-in-flash' and has the custom_data field filled with 'show-in-flash' (I've also tried substituting 'show.in.flash' without change). It appears that $albums_array is not populating which I'm guessing means the query is not finding the album for some reason.
$album_sql = "SELECT `id`,`title`,`desc`,`folder`,`thumb` FROM ".prefix('albums')."WHERE `custom_data` LIKE \"%show.in.flash%\" ORDER BY `parentid` , `sort_order` ASC ";
And I needed to change the image query as well (to point to the correct table):
$img_sql = "SELECT ``filename`,`title`FROM " . prefix('images') . " WHERE`albumid` = ".$aid;
So the xml page creation seems to be working fine now. But I'm still having problems with SSP not displaying anything. Still working on it...
`
Erik, thank you.
I seem to be having a problem, however. SSP doesn't show anything and if I go to /gallery/ssp.php I get a mysql warning:
: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in (dir with-held)
Any ideas? Also, should the show.in.flash be a tag or a custom field?
`
i try cwcrogan solution post to change the php code and the same problem, btw i dont understand what i am doing.
help me please