Uploading images to gallery

Permalink
Hi everyone!

I'm new to Concrete5 but I am absolutely amazed at what it can do!

I've already searched the forums, but couldn't find information on whether or not logged in users are able to upload images to a page's image gallery from the front-end (it will be a private page). I'm planning to have a image-sharing community, and it would be helpful to have this function.

For example, the workflow would be something like this:
1. User A logs in tohttp://mysite.com/community/
2. She heads to the gallery page
3. On the gallery page, there are thumbnails of user submitted images, with captions and username beneath the thumbnails. Clicking on them will bring them to individual image page, with the enlarged image, plus comments at the bottom (other users can also comment).
4. When User A clicks on "Upload Image", she'll be asked to browse her files to upload an image. And when done, will be added to the image gallery thumbnails.

Any help or pointers will be most appreciated, thank you!

x
Mya

gnyma
 
jordanlev replied on at Permalink Reply
jordanlev
You could set up the gallery so it only shows files in a particular fileset. Then add a form block that contain a file upload field to the page, and modify the form block so that files uploaded from it go into the fileset. See:
http://www.concrete5.org/community/forums/customizing_c5/putting-up...
http://www.concrete5.org/community/forums/customizing_c5/moving-for...
gnyma replied on at Permalink Reply
gnyma
Ah! Thanks for the links Jordan! I'm off to check it out. :)
gnyma replied on at Permalink Reply
gnyma
I've followed the links Jordan gave, and this one works great:
http://www.concrete5.org/community/forums/customizing_c5/putting-up...

But since it's modifying the controller.php for the entire block, that means that for any instance I have the upload block, any files uploaded will go directly to that one set.

Is there a way that I can set it up that I can choose what image sets the image uploads go to, so that it can be used on different pages within the site that will show different image sets?
gnyma replied on at Permalink Reply
gnyma
I found the answer!

See here:
http://www.concrete5.org/community/forums/chat/form-attachment...

It's brilliant!