[slideshow] external slideshow ?

guix

Joined: 2006-03-03
Posts: 1
Posted: Fri, 2006-03-03 13:55

I'd like to embed slideshows - only - from Gallery2 albums into my homemade CMS.
The idea is to use Gallery2 in restricted access, but the slideshows available to the public.
ImageBlock module is the only idea I have at the moment but there is much work to turn it into a slideshow. Maybe you know someone who already worked on this ?

Basically I "just" need to get the URLs of all pictures in an album into my PHP script (PHP variable or Javascript variable), or write a text file with the URLs. Then I'll look for a nice javascript slideshow but this willbe the easy part...

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-03-03 18:18

would it be easier to customize the slideshow module into something you can use externally?

you could do GalleryEmbed::init, set request parameters for slideshow.Slideshow view and the desired itemId, call GalleryEmbed::handleRequest to generate the html, then place it in your page..

you can set embed.only mode in your G2 config.php if you want to block any other access to G2 should anyone figure out the url.

 
maddunr
maddunr's picture

Joined: 2004-07-29
Posts: 51
Posted: Mon, 2007-09-10 20:34

Hello Mindless..

I know it's been a while since this thread was started.. but I am hoping you might have some more info on this subject :). I am not a programmer.. so your comments don't make a whole lot of sense to me. In the year that you've posted this, have you come across any (non Flash) slideshow apps that allow you to embed a G2 slideshow into an external site?

Thanks,
V