Best Practices
General > Best Practices > Approach: Upload of images by user View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
frederik - 12/5/2011 10:10:24 AM
   
Approach: Upload of images by user
Hello kentico team.
We got multiple lightbox galleries based on the cms.file doctype.
We would like to give our users a chance to upload more images to the content tree as cms.file.

How could we implement that easily?
What is the best practise to this gallery created by logged in users. Sorry I think its hard to explain.

Thanks for your effort.
Frederik

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 12/22/2011 6:51:55 AM
   
RE:Approach: Upload of images by user
Hello Frederik,

You could use User contributions module (and its web parts) to allow your users to upload cms.file images into the content tree. Please see an example (there with cms.news, but it's the same principle):
http://devnet.kentico.com/docs/6_0/devguide/example_publishing_community_news.htm

It always depends on the particular aim, but we would also recommend to consider using Media libraries. There are some examples that may be useful for your aim at http://devnet.kentico.com/docs/6_0/devguide/media_libraries_community_site_examples.htm

Regards,
Zdenek.