Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Shaun 248 posts 475 karma points
    Feb 15, 2010 @ 15:09
    Shaun
    0

    Allowing members to upload images

    I have a client request for an umby site that will contain an area for members of certain groups to upload images, links etc.

    Note that these are members, not umbraco admins.

    I've not done anything like this before with umbraco, and I'm fishing around for the best approach. Can anyone point me in the general direction of a solution? I can't see anything obvious on the forum and my googling hasn't turned up anything good so far.

    Thanks!

  • Nik Wahlberg 639 posts 1237 karma points MVP
    Feb 15, 2010 @ 15:20
    Nik Wahlberg
    1

    Hi Shaun,

    using the API to tap into media creation would be the way to go here. I wrote a package for posting classified ads in which I allow members (non-admins) to post ads and attached an image. You can take a look at the source for this package which should take you through the process of programmatically creating an image (including thumbnail). 

    http://our.umbraco.org/projects/classified-ads

    HTH,
    Nik

  • Shaun 248 posts 475 karma points
    Feb 15, 2010 @ 15:40
    Shaun
    0

    that looks ideal Nik. Thanks for that!

  • Nik Wahlberg 639 posts 1237 karma points MVP
    Feb 15, 2010 @ 16:22
    Nik Wahlberg
    0

    Great, let us know if you have any questions or something is not clear. I should mention that the source code of the above package probably needs a little polishing, but at least it will point you in the right direction. 

    Thanks,
    Nik

Please Sign in or register to post replies

Write your reply to:

Draft