Imagesize Upload

7 posts, 0 answers
  1. Falk
    Falk avatar
    30 posts
    Member since:
    Mar 2008

    Posted 14 Mar 2008 Link to this post

    Hi,
     
    I'm using the Lite RadEditor for Moss. Is it possible to raise the max size for picture uploads right from the Manager from 200 KB to 10 MB? And is it possible to Link the ContentTyp-List for our documentlibrary to the upload-function?

    Thanks for your response

    Best regards

    Falk von Rönn
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 14 Mar 2008 Link to this post

    Hello Falk,

    Yes, this is possible by setting the MaxImageSize property in the Configuration file. There you can also set the allowed document's extensions

    <property name="MaxImageSize">204800</property> 
     
    <property name="DocumentsFilters"
        <item>*.doc</item> 
        <item>*.pdf</item> 
    </property> 
     



    Greetings,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Falk
    Falk avatar
    30 posts
    Member since:
    Mar 2008

    Posted 14 Mar 2008 Link to this post

    Hello Georgi,

    I have configured the ConfigFile.xml and the ListConfigFile.xml. It's even not clear to me what the number 204800 stands for?
    This does not have any effect on my imagesize. When I choose the "upload image" button there is still standing allowed image size 200 KB and trying to upload bigger images results in an error.

    It's not important to me what kind of image is uploaded but this image is stored in our sharepoint document library and storing a document there needs metadata. But the Editor is neglecting the form.

    Best regards

    Falk von Rönn

  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 15 Mar 2008 Link to this post

    Hello,

    The MaxImageSize property is in bytes and its default value is 204800 (200KB). You can set it to anything you like as long as it's not over the MaxRequestLength value set in the MOSS web.config file (51 MB). For example, if you want to upload 10 MB images, set MaxImageSize to 10485760.

    As for the metadata, I can confirm that the upload function in the built-in editor dialog does not allow you to set any additional information for the file. You can do this only if you open the file from the image library.

    Best wishes,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Falk
    Falk avatar
    30 posts
    Member since:
    Mar 2008

    Posted 17 Mar 2008 Link to this post

    Hi Lini,

    thanks, now it works!

    Best regards
    Falk
  6. Tom-i
    Tom-i avatar
    2 posts
    Member since:
    Sep 2009

    Posted 09 Sep 2009 Link to this post

    Hello,

    I have the same problem, but I cannot find the ConfigFile.xml... I do not know where this file is supposed to be...

    I am using rad editor lite 4.5.6.0, in my publishing page.

    I have created a folder RadControls\Editor\ in my virtual directory, put a ConfigFile.xml that I have created in it but it does not change anything. I performed an iisreset but it is not better.

    Here is the content of my config file :
    <configuration> 
         <property name="ToolbarMode">Default</property> 
         <property name="UseClassicDialogs"> false</property> 
         <property name="NewLineBr"> true</property> 
         <property name="ToolsFile">~/RadControls/Editor/ToolsFile.xml</property> 
         <property name="Skin">Default</property> 
         <property name="SaveAsXhtml">false</property> 
         <property name="AllowThumbGeneration"> true</property> 
         <property name="ImagesPaths">  
            <item> ~/Img/</item> 
         </property> 
         <property name="UploadImagesPaths">  
            <item> ~/Img/</item> 
         </property> 
         <property name="DeleteImagesPaths">  
            <item> ~/Img/</item> 
         </property> 
         <property name="Language">en-US</property> 
         <property name="MaxImageSize">1000000</property>   
    </configuration>


    In the "Image Manager" popup it is always set "Max file size allowed 200KB ".

    Could you tell me where I could find the right ConfigFile.xml file please :)

    Thanks in advance,

    Thomas

  7. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 10 Sep 2009 Link to this post

    Hello Tom,

    The configuration folder that you are looking for is Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.x.x.x__1f131a624888eeed/RadControls/Editor.

    I hope this helps.


    Regards,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top