More in this section
Forums / 3.x Pre-release forums (retired) / Automatically enabling uploading of images

Automatically enabling uploading of images

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Len Ford
    Len Ford avatar
    25 posts
    Registered:
    29 Apr 2004
    29 Nov 2006
    Link to this post
    Within the Rad Editor Is it possible to specify the images, upload,  and delete paths for a site so that when it is dragged into a placement area the user can immediately upload images without having to set up the paths on the editor's property sheet?
  2. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    29 Nov 2006
    Link to this post
    Hello Len,

    The developer can allow end-users to upload, insert and delete images in the folder structure of the web application by setting the following three properties: ImagesPaths , UploadImagesPaths , and DeleteImagesPaths.

    For the time being, however, you are only able to set these properties per Editor instance through Editor Options. We absolutely agree that the ability to set them globally is a very convenient addition, so will implement this functionality in the next release.

    What you can do now, to cut down on the effort required, is the following:
    1. First, in the ~/RadControls/Editor/ConfigFile.xml file, set the paths like this:

          <property name="ImagesPaths">       
              <item>~/Images</item>
          </property>
          <property name="UploadImagesPaths">
              <item>
      ~/Images</item>
          </property>
          <property name="DeleteImagesPaths">
              <item>
      ~/Images</item>
          </property>

    2. Then, in Editor Options: Behavior, set the ConfigFile property to ~/RadControls/Editor/ConfigFile.xml. See attachment.

    For more information about using Editor File Manager, you can see the following example:
    http://www.telerik.com/demos/aspnet/Editor/Examples/AjaxFileManagers/DefaultVB.aspx


    All the best,
    Rebecca
    the telerik team

2 posts, 0 answered