How can I get the Album's ID or absolute path to pictures?
|Posted: Tue, 2012-07-10 20:36|
Some days ago, I asked about how to embed galleries (see http://gallery.menalto.com/node/107336. Thank you suprsidr for your great help :D ). Now, I'm interested to develop a very basic module that let users "Copy and paste" a few lines of code to easy sharing that galleries.
I'm not "Gallery expert". I'm trying to learn it :D ... For this purpose, I would like to know how can I get the album's ID or related, where I can to take pictures for gallery that is being displayed. For example:
* I've created a gallery called "First of all".
* When I see this album, I would like to display at bottom of it a single <div> containing the code. But, I need the absolute path to the album to get pictures, like this: http://mysite.com/galleries/first-of-all/photos/picture-01.jpg.
* I attach a snapshot to explain better my purpose: https://lh5.googleusercontent.com/-i1nvVfKE7o8/T_yRdIn0rHI/AAAAAAAAA7s/vcekVRQnq1A/w883-h551-k/gallery_question_1.png
If I finish this module, It will be released in Gallery Contributed Modules, jeje jeje