Hi everyone,
Background: I've got a gallery set up for my university. A number of different departments have their own sub albums. I'm trying to embed a particular department's sub album in their website.
I've think I've read all the Gallery embed articles in existence, but I haven't seen information anywhere on how to embed only 1 sub album. I've got it all working (well, I still need to modify a theme to get it looking flawless), but so far I've only been able to embed G2 at the root level, not a sub album level.
Is this possible?
Thanks.
Posts: 8339
Easy...
Use my easy embed tool and utilize the Default AlbumId and the Breadcrumb RootId
OR
Use my mediaBlock.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 7
That was fairly easy. Looking at the generated code, the only part I needed to add to my existing code was GalleryCapabilities::set('defaultAlbumId',...);
Thanks!
Posts: 8339
that's depreciated use $gallery->setConfig('defaultAlbumId', 1400); instead.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 7
Alright - will do. Thanks.
Posts: 8339
Now that you have your embedded pages, you can also use mediaBlock to display images or other media externally from these department's albums on external pages and link back to your newly embedded pages.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2