This is a migrated thread and some comments may be shown as answers.

Imagesize Upload

6 Answers 123 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Falk
Top achievements
Rank 1
Falk asked on 14 Mar 2008, 09:56 AM
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

6 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 14 Mar 2008, 01:57 PM
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
0
Falk
Top achievements
Rank 1
answered on 14 Mar 2008, 03:17 PM
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

0
Lini
Telerik team
answered on 15 Mar 2008, 08:18 AM
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
0
Falk
Top achievements
Rank 1
answered on 17 Mar 2008, 08:08 AM
Hi Lini,

thanks, now it works!

Best regards
Falk
0
Tom-i
Top achievements
Rank 1
answered on 09 Sep 2009, 03:40 PM
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

0
Stanimir
Telerik team
answered on 10 Sep 2009, 05:50 AM
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.
Tags
WebParts for SharePoint
Asked by
Falk
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Falk
Top achievements
Rank 1
Lini
Telerik team
Tom-i
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or