Simple Gallery2 integration

mrd

Joined: 2008-08-10
Posts: 3
Posted: Sun, 2008-08-10 14:15

Hello

I've been trying to come up with a very simple script, that displays a specific G2 album. I've checked the API reference, but I can't seem to get it work.

I can display a specific image easily like that:

list ($ret, $bodyHtml, $headHtml) = GalleryEmbed::getImageBlock(array('blocks' => 'specificItem', 'itemId' => 589, 'show' => 'none'));

But how can I display a specific album?
thx,

mrd

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2008-08-10 18:41
 
mrd

Joined: 2008-08-10
Posts: 3
Posted: Tue, 2008-08-19 21:01

Thanks a lot for the link, this is exactly what I've been looking for.
RU the author of this script?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2008-08-20 01:44
 
mrd

Joined: 2008-08-10
Posts: 3
Posted: Wed, 2008-08-20 07:05

cool, you've got a paypal account? you just saved me a lot of time and I want at least to pay for a beer ;-)