User profile integration

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
arne.olafson's picture

I'm looking for some code that will find g2_itemId for albums that users own.
For instance, a cooliris slideshow album reference:
http://yoursite.com/index.php?q=gallery&g2_view=slideshow.Slideshow&g2_itemId=

<?php
print $profile['field_g2dropdown']->value;
?>

// the $profile['field_g2dropdown']->value;
would reference an available gallery2 album as a dropdown menu in a php enabled block visible in the user profile content, and signify the album that the user wants to use for his or her user profile photo gallery.
I apologise if I am asking a too 'gallery' question, but here it is for drupal community:
Is there a way I can access which users own which albums with php?
Any help is totally appreciated

Gallery2 Integration

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week