1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Upload image in my module

Upload image in my module

4 posts, 0 answered
  1. Len
    Len avatar
    14 posts
    Registered:
    10 Jul 2008
    10 Dec 2008
    Link to this post
    Hi.

    I have created a module based upon the generic content module and I need to attach a stamp-sized image to each content item.  Is there a good way for me to allow the admin to take advantage of SF with this?  I would like to have a button on my admin page that pops up the SF image window, allowing the user to select from previously uploaded files or upload a new file.  I would need to know which image the user has chosen.  Is it possible for me to allow this?

    Thanks.

    Len

  2. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    10 Dec 2008
    Link to this post
    I too have been trying to figure this out. I've managed to copy the thumbnail selector from the news module with some success, but his only lets them choose an existing file from the file system, and doesn't allow them to upload.

    I want them to be able to select from the file system AND/OR the images & documents library as be able to upload files to the either
  3. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    10 Dec 2008
    Link to this post
    Hi Len,

    Please refer to the following KB that provides an example on how to create a control which gives you the ability to choose and associate files from the Images & Documents module, as well as from the file system:
    How to associate content items with files

    Do let us know if this helps.

    Kind regards,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. Len
    Len avatar
    14 posts
    Registered:
    10 Jul 2008
    10 Dec 2008
    Link to this post
    Perfect!!

    Thank you.  Just what I was looking for.

    Len

Register for webinar
4 posts, 0 answered