User Specific Image Galleries in each User's Profile Display
I'd like to add a user-created and user-maintained image gallery to each user's individual profile page on my site.
I was wondering if anyone had some advice or can point to tutorial documentation that would best work with DC.
I've spent quite some time searching for a solid tutorial, but many seem to be for a site-wide photo gallery, and not for a gallery where each image & gallery is assigned to a specific user. Ideally, some of the profile information from each user would be associated to the galleries as a relationship to creat a larger, main gallery to sort through the user galleries using taxonomy and filters.
I'm currently trying to get "Photo Gallery with Views Attach" to work (i imported it as a feature from http://www.lullabot.com/articles/photo-galleries-views-attach but cannot seem to get some of the Views to appear as they do in the video tutorial). Galleria and other modules looked like a good solution but seem to be set up as a general site-wide gallery (please correct me if i'm wrong on that)
I'm an "intermediate newbie" to Drupal and a total newbie to DC, so finding good DC appropriate tutorials is difficult by a simple google search or on drupal.org
Thanks so much for any help!


Comments
Re: user image gallery
Galleria can be used/attached to any content type you create/has been created. I used it within DC to create individual group gallery and individual blog gallery. Very flexible and found it the best amongst gallery approaches (my opinion). Any content type can have its own gallery
Screenshot
https://picasaweb.google.com/102649247313375566845/DropBox?feat=directlink#5572873523013760578 - individual group gallery
https://picasaweb.google.com/102649247313375566845/DropBox?feat=directlink#5572869997169228242 - individual blog gallery
As far as user profile is concerned, it is not a content type and that is why galleria approach might not work.
However, I integrated Facebook style Statuses module into user profile. http://drupal.org/project/fbstatus
It provides ability to atach images to your profile. It is not gallery per se, but if you'd like an easy solution this might help
Screenshot
https://picasaweb.google.com/102649247313375566845/DropBox?feat=directlink#5572845792470762866
I hope it helps
Re: user image gallery
Thank you. I'm going to attempt Node Gallery http://drupal.org/project/node_gallery combined with Node Gallery User Profile http://drupal.org/project/node_gallery_user_profile
If I fail at that attempt, I will give Galleria a shot. If I'm successful, I'll report back here on how I achieved it. One good thing about all of this trial & error I'm going through is that it's highly educational, forcing me to learn-as-i-do.
I really appreciate your help, thanks again.
Galleria Feature by Trellon
I think your advice to use Galleria is a good one. I tried the node_gallery idea, but wasn't able to get it to do what I want.
I'm now going to try Galleria. I see a very recent Galleria Feature by Trellon: http://www.trellon.com/content/blog/making-galleria-feature
I have a lot of learning to do before I get my head around all of this, but what attracted me to their approach that It allowed them to do the following:
Trellon "created two views: one for the galleries page and a second one for the gallery block. The gallery node id is passed to this block as an argument and images are displayed by the Views Slideshow: Galleria formatter. The gallery block was bound to the gallery node using Context module. For these views and content types we used Imagecache presets."
It might be interesting to you considering the content of your example screenshots. The feature was easily imported to my setup, but I did have to install a lot of modules required by the feature, as listed below (ignore the acidfree module, that was an earlier attempted module solution):
Thanks for the info
Thanks for the info on Trellon feature. I was not aware of that and have to look into it myself. However, their feature (approach) requires rather few modules to accomplish the goal.
The reason behind my use of galleria is that it does not require any dependencies aside from Jquery which is now in the core (i believe).
Moreover, it alows you to easily attach image gallery feature to any existing content type as well as to use galleria to create a new image gallery content type if you want.
Since it is CCK at work, that is, galleria is just display property attached to that CCK. You are using CCk in essence and all the capabilities that come with using or manipulating CCK extend to that field as well (views). Moreover permissions for user/admin can be easily assigned if you need that option.
It also works well the imagecache functionality (any gallery should) and if you use lightbox2 module galleria works nicely alongside lightbox. In my case if I click on my large image in galleria slideshow lightbox overlay pops up and allows me to display big images with other lightbox functionality.
I do not see the problem with any of their functionality being accomplished this way as well especially if you create new gallery content type that allows you to extend it even further than CCK on its own allows you to do. All that less almost ten additional modules is a way to go for me. I believe I tested most of the gallery modules as well as custom build gallery approaches, but still found galleria does the job the best. There is no doubt there are other ways to do it and my point can be debated.
Let me know if this helps or if I can help in any other way
Oh, and
I'm also interested in hearing why you think Heartbeat (Recent Activity) is still relevant if the FB status stuff is there. I do understand the difference in what they're showing; but I wonder if the Recent Activiity is still useful?
(Frankly, I'd love to see the Recent Activity show up in the FB status, but the module doesn't do that - yet...)
FB status only updates when
FB status only updates when user chooses (requires user action). I guess that Hearbeat (recent activity) tracks relational activity of a group or a user irrelevant of user actions. I guess combination would make sense - both tracker and user based action. The question is how to make it work together since both make sense without confusion. Suggestions welcome.
Module points that there is integration (Heartbeat, User Relationships):
I'm really attracted to..
.. your work that integrated FBstatus' into the Profile page. I think we should do that "real soon now" in the distribution. Did you use the -2 or -3 branch of FBstatus, and what issues did you find?
We've thought about galleries, but not much. What you've done here is interesting - though I think it's probably the kind of thing that should probably be in an optional Feature (vs. turned on by default), as it may not be wanted by all. Did you encapsulate all that work you did into a Feature?
As far as user profies having galleries, IMHO those should live off on another page that's associated with the profile - the same way FB does - because you probably want things like albums, etc. All this will get MUCH better in D7 (because of the Media module), so I'm inclined to leave this out of the distro until we have a D7 version of Commons. Anybody see if differently?
Galleries by User
I've gone as far as shoving the node_gallery/node_gallery_user_profile on a test site. Other than some useability issues that I'm pretty sure a result of my understanding of the configuration, it isn't all that bad. There's now a tab on the user profile which, when clicked, shows the galleries the user has uploaded. Click on one of those and the photos show up (although without the profile tabs which I don't know if it will be an issue).
My next experiment is to see if, once a user has a gallery they've uploaded, it can be also assigned to a group (and perhaps a group gallery). Haven't started investigating that yet, so pointers or ideas would be welcome.
6.x-2.3 branch FBstatus used
6.x-2.3 branch FBstatus used on the site with user profile. Minor CSS issues with ajax popup attachements for image (not big deal)
I turned off FB multimedia micropublisher options and kept link and images only. It seems that no imagecache preset ability could be rather an issue if user attaches large image(s) to the status, uses core so default image size limit - that could be set to size to keep it organized if not required elsewhere (and lightbox for actual size / larger image). Other than that 3.x seems to extend to groups which could be alternative to shoutbox. Did not upgrade myself, but seems there is lots of activity and many issues fixed with 3.x branch (so 3 is probably way to go)
As far as galleries go, galleria module is essentially just a display property in CCK for each node type that is used (unless a whole content type created is for gallery which could use galleria as well - additional feature). Would have to re-export it and try myself. Not sure how would optional feature work or if it can be applied individually to other features.
Since D7 port will use media seems useful only in D6 with DC (very light 1 module). Perhaps I could create a nice wiki for users to incorporate galleria if they see need for that in their DC site rather than being part of installation profile (seems like something users would like to have though).
Definitely consider
.. creating a wiki page in the Documentation group describing how to do this. Even if we put some of it into the distro in future releases, there may be people who want to do this before it gets into the distro, and they'd be happy to know how. If/when we add it to the distro, we can adjust any documentation changes to what actually got in.
Commons Gallery feature Alpha1 available
I've created a feature for image galleries that I wanted to share. You can download the tar file here: http://commons.acquia.com/document/drupal-commons-gallery-feature
It works pretty well but needs a little refining.
It's based on Gallery_assist module as having tested the various routes mentioned here, this seemed to be the simplest and most elegant.
Please feel free to comment, criticize etc and I'd really appreciate some help in ironing out some of the remaining problems.
I spent most of yesterday trying and failing to get multiple image upload functioning correctly so any pointers in that direction would be very much appreciated!
Cheers for now,
Crom
Galleries by user, but part of a group too?
If I read the comments so far, it looks like up to 3 different approaches are being discussed.
Did anyone come to a resolution to a preferred approach?
In my specific use case I'm looking to have multiple photo galleries for each user, displayed in their profile (as a tab perhaps?) and give the user the ability to tag a gallery to one or more groups.
In other words, users can have galleries of photos, say pictures taken on trips, and be able to have them displayed as part of a group's content, for instance displaying all the galleries of photos for users who are part of a Europe group and have tagged their galleries as Europe.
Suggestions on how to accomplish this?
Gallery Assist
So far the Gallery Assist module has been working for me, and you can select control whether or not to include the galleries in groups under "edit content type / Organic Groups tab.
I, too, want per-user galleries that can be tagged, categorized, and associated to users. After testing Galleria, Acid Free Galleries, Gallerix, Node Gallery, PROG gallery, and the very promising but way to bug-ridden Album Photo module ( http://drupal.org/project/photos ), I find that Gallery Assist is the most flexible and intuitive way to get a per-user gallery going on the commons install.
LINK: http://drupal.org/project/gallery_assist
It can create multiple per-user galleries in their individual profile, with a tab that says "galleries" on the user's profile which lists each gallery. You can assign various lightboxes to it, and it's very flexible. There are related modules for Gallery Assist that help facilitate the process: Gallery Assist ImageCache, Gallery Assist Lightboxes, Gallery Assist Upload & Import Helper, and has many Views options & Node-type assignments. I hope this helps and let me know how it goes for you, please.
Issue for user's own galleries
I'm trying to use gallery assist into Drupal Commons following your recommendation. I still dont know how to make a page where people can upload their own galleries. I have permissions for creating, editing and deleting user's own galleries, but i dont see where. Do I have to make a view as a page in order to see an "Add a gallery" button? Gallery assist is looking good so far!
Thanx!
Try the feature I uploaded
Please try the feature that I uploaded to here: http://commons.acquia.com/document/drupal-commons-gallery-feature
It should be fully functional and it would be great to get your input and refine this feature.
Cheers,
Crom
Nice. Ill try the feature and
Nice. Ill try the feature and let you know.
I tried the feature and it
I tried the feature and it took me little time to get it going. Its easy to set up, but still has a few details to do when you get to install it (my main issue is with the Gallery Assist module itself, which im not very fond of). Just a quick note: you can use lightbox 2 module instead of installing other lightbox library. The instructions are not documented but I found a description on how to get them going on an issue of gallery assist > http://drupal.org/node/730278.
agreed...
Gallery Assist seems a little buggy but it was faster than trying to wade through the mass of modules etc that the previously mentioned galleria feature requires - had no joy with that.
I hope you found that the feature creates an 'add new gallery' link as you asked about this.
If you have any joy with the multi-image upload then please let me know as I gave up at that point...for the time being!
Cheers
Crom
Yeah I got the gallery
Yeah I got the gallery working, thanx! Im just thinking about the benefits of using that module instead of a content type inside the feature, that has direct integration with the lightbox2 module and imagecache by default (I was surprised at first when i installed gallery assist a while ago, and it didn't have imagecache integration out of the box, but anyhow...). I know one of the benefits of Gallery Assis is that you can use different lightboxes, but i have heard a lot of problemas with permissions (people having to modify the module inside to have stuff showing up in the page). I havent been using it much as of now, im planning to see if one can upvote an image and have a view for "the most upvoted pictures", and i dont know if that would be possible with a small content type with images assigned to it. Ill test more and give you more feedback as I go through it.
Feature Update?
I've tried the feature with Gallery Assist to create galleries for individual users to show up in their profile as discussed in this post. However I'm having the same problem as others with regards to having a link in the profile for users to create a gallery, etc. etc. You solved these issues with your feature crom. However, I've tried using it with the latest versions of Drupal Commons and Gallery Assist with no success. Any chance you could update the feature or explain what you did so others can recreate it or adapt your code to the latest module releases?
Anyone else have any luck with creating individual galleries that work with Commons Profile and/or other node types?
Sparky
which versions of gallery assist and multi-upload modules?
@ pseudohaiku
Hi, did you have any luck getting gallery assist to work with the multi-file-upload modules like fupload/plupload etc? I've tried various combinations of module versions without success. I'd be interested in the module versions that you got working together within DC.
Cheers,
Crom
I'd be interested in helping here...
I'm looking to integrate a gallery function into Commons for a project I'm working on. I'm going to start looking at this seriously from tomorrow. Looks like the galleria feature is well worth a look. I'd be happy to contribute to the existing work that's been done here.
I'm also going to be looking at FB status as it seems like a much better tool than shoutbox.
I've good experience with Drupal and have been working with Commons since the first release.
Not sure how to PM on here but I use the same username on drupal.org.
Cheers for now,
Crom
Note that I agree
I think I'm going to spend some of Acquia's effort on putting FB-style status' module into Commons this summer. Do you want to lend a hand?
Yep!
Jay, I've decided to look at this before the gallery module/feature. I'll take a look at the shoutbox feature that's in the dev version for pointers for FB-style status module integration with DC and post you when I have something vaguely useful.
Hi,I'd be interested in
Hi,
I'd be interested in helping with FB-Style Statuses as well. I did this on a Commons site I worked on and it seemed to go pretty well.
@sparker8080, as far as user specific galleries, I used the approach that Lullabot did for Photo Galleries. What isn't showing up correctly? One thing they didn't cover in their article was limiting a user's available galleries to ones they created, but luckily the node reference module allows you to use a view as a list of available nodes and then you can create a view to only show the logged in user's gallery content.
James