Hi,

Goal:
To make a image album gallery where the user can upload some pic and let ppl comment on the pic and rate each pic.
Also user can upload picture to their own space, so they can delete/edit /upload more pic in their private album.
The pic are going to be shown in the frontpage, and when ppl click on the user profile they can see the users albums.

How do I do that? Which module and setting should I start with?

Thanks in advance!

BR:
OKLOK

Comments

WorldFallz’s picture

I wholeheartedly recommend the image gallery method described at http://www.lullabot.com/articles/photo-galleries-views-attach and implemented with the views_gallery module.

shadcn’s picture

I think you would need these modules

cck and views are almost crucial everytime

you'll need gallery2 , imagecache, imagefield, image

image modules to upload images
cck if you need to create special fields for custom content
views to build you gallery

you'll use taxonomy a lot here i think.

thanks

oklok’s picture

Well, actually none of them is what I wanted.

What I want is to firstly create a image category in the create a content, from here user can upload image, and the images will automatically looking like this when uploaded:

[IMG] [IMG] [IMG]
[IMG][IMG][IMG]

And these Images are all thumbnail. When user clicks on the images it resize to original size.

Under the image there is some text description about the images.
- Also ppl can rate on the images.

My 50 cents now is to setup this with views...but if anyone have a better ide pls shout it out =)

oklok’s picture

Actually Image gallery assistant works quite good but I need to implement following things:

- (This node must be saved before you can add items to the gallery. )
Can I somehow upload images at the same time as saving instead of needing to save first and then edit and then upload images...?

WorldFallz’s picture

This is exactly what you can create with the method I linked above-- then to add ratings you'll need to add the fivestar or other http://drupal.org/project/votingapi module.

oklok’s picture

i watched the lullabot vide and yes it looks great, but is it possible to add a describtion for every picture?
Also I have currently Image API module installed, do I also require Image module?

Anyway thanks. I will take a further look into this.

oklok’s picture

Hi WorldsFallz and everyone else, hope you can help me with this problem.

I have now installed the view attach + gallery and have played with it but Im still clueless on how to:

1. Make a individual gallery for each user account. For example when member A creates a gallery member B shouldn´t have the ability to upload images in members A´s gallery.
-The behaviour right now is that every member can see and press the button "Add a photo" in the gallery, even if that gallery does not belongs to specific member. How do I remove this button, or rather said, how should I do if this button should only apply to the gallery author?

2. If member A are going to upload a image he/she shouldn´t have the ability to choose Members B´s gallery as it is right now, solutions anyone?

3. I want the member to have a link on the menubar called "My uploaded Galleries". With this link the member can watch all theirs old and new uploaded photos, in here they can edit the photos/delete it, change name of their Gallery etc. Is this possible?

WorldFallz’s picture

I'm not sure what you mean by "gallery"-- if you mean views_gallery you need to make sure you have all the dependencies installed.

If everything is installed properly, then only give 'edit own gallery' permissions to the appropriate user role. Menu items are added at admin/build/menu. Also, to have to ability to create a "Edit My Gallery" item you'll need the http://drupal.org/project/me module.

oklok’s picture

hmm this is strange.

YEs, the gallery is the views gallery.

Anyway I havent used the attached
views_gallery.zip 4.44 KB
views-gallery-exports.zip

in the lullabot homepage, I dont even know what to do with it. Am suppose to use these thing to make all this work?

Right now I have only downlaoded and installed the original Views, Views attach and Views gallery, imagecache, image etc.

WorldFallz’s picture

Try using the updated module published at http://drupal.org/project/views_gallery.

oklok’s picture

I think this is not the solution I want. Because I cant make so each member have their own gallery, a gallery only the member can upload photo into.

"FOR NODE MODULE"
I have this setup in permission:

edit own gallery content
edit own gallery_image content
access content
create gallery_image content (if disabling this, use A cant upload in user B gallery, but then again user A cant upload anything at all. therefore this option must be enabled.)
create gallery content
____________________________
FOR "content_permissions module":
view field_gallery
view field_gallery_image

(I planning to outsource this solution... (havent decided yet tho...I know thats makes me look weak ;)), anyone knows any cheap dev that are willing to setup a easy community page? The dev only need to setup all thingy, no need to design.)

WorldFallz’s picture

The advantage of this method that is you can pretty much make it do whatever you want.

Because I cant make so each member have their own gallery, a gallery only the member can upload photo into.

Maybe I don't understand properly, but you absolutely can do this.

oklok’s picture

WorldFallz , thanks for your encouragement and all your help, its really great.

Anyway, I think I need to read more about permission etc... where do you think the code that say "only the author can upload img to this gallery node" is being held? I need to investigate this and see why and how I should proceed so members only can upload to their own gallery and not others.
I have tried http://views-help.doc.logrus.com/ but there is nothing about this matter here.

WorldFallz’s picture

It's not that the code is being held somewhere-- you just need to use a view for the gallery nodereference field that limits the select list to the galleries created by the current user. Create a view that lists the title of gallery nodes, add an argument for "user: uid" or "user: name", select "provide default argument", and "user id from logged in user". Use that view in the nodereference field.