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

Max file size for image editor

3 Answers 338 Views
Editor
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 04 Nov 2008, 06:47 PM
What is the max size an image can be to use image editor to edit it?

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Nov 2008, 09:21 AM
Hi James,

The image editor can edit any uploaded images that the browser can load and render. If the image file size is huge, then the browser will need more time to load the image - this depends on the hardware configuration of the client PC / MAC.

The default allowed size for upload by the Image manager is 200 KB, but you can change it using the ImageManager-MaxUploadFileSize attribute.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
SEE Global IT Development Team
Top achievements
Rank 2
answered on 04 Dec 2008, 02:09 PM
If I want to change it in for my lists, where should i add / change that property in the ListConfigFile.xml??
I am adding to it :´<property name="MaxUploadFileSize">1024000000</property> (to upload 1 mega) and SharePoint is complaining about one unexpected error (the application pool I am trying with allows up to 50MG)
Thanks!
-Cristina.

MaxUploadFileSize The maximum image file size in bytes, allowed for uploading. The default value is 2048000 bytes.
0
Rumen
Telerik team
answered on 08 Dec 2008, 09:11 AM
Hello Cristina,

You can increase the limit by adding the MaxImageSize property in the editor configuration file. See http://www.telerik.com/help/aspnet-ajax/set-properties-via-config-file.html for more details.

You need to edit the ListConfigFile.xml and add the following line:

<property name="MaxImageSize">1000000</property>

The property value is in bytes - e.g. 1000000 bytes means 976.56 KB. Note that if you set a very large value, you might need to modify the MaxRequestLength in the MOSS application's web.config file (http://msdn.microsoft.com/en-us/library/e1f13641.aspx).

Here are the properties for the rest of the RadEditor's managers:

MaxFlashSize
MaxMediaSize
MaxDocumentSize
MaxTemplateSize

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
James
Top achievements
Rank 1
Answers by
Rumen
Telerik team
SEE Global IT Development Team
Top achievements
Rank 2
Share this question
or