I am attempting to develop a personal portfolio site in which users submit their work, including anything from flash movies to images, etc, into their albums, and it is then viewable on their user page. I have been able to get the user albums for each user using "gallery2", but all i can manage is to place a ling to the users gallery on their user page, rather than display images from the gallery itself.
I know that the following code in my template.php creates the link:
<?php
global $user;
$galleryprofile=gallery_view_user($user);
print $galleryprofile['Gallery2']['gallery_view_user_album']['value'];
?>
I have tried playing around with this code to make it display the content of the page/node (or whatever) it links to but have had no success.
the following is what my user profile looks like (follow the link):
http://farm3.static.flickr.com/2340/1497822682_1ad35469d8_b.jpg
PS. once I have got the user pages sorted out, I want to create a browse page, which has different cegories which can be searched/browsed, and all the images are displayed ther no matter what not the albums, then when you click on the image, it will take you to that image and you can comment on it or rate it, and from there there is a link to the user which uploaded/created the image. (but first I want to sort out the userpage bit)