Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




How to increase the maximum size allowed for the uploaded image in RADEditor image manager

web-app

Dear Gemini users,

We are using Gemini 2.2.1.

We would like to increase the maximum size allowed for the uploaded image in the RADEditor image manager.

We tried to modify the variable: MaxImageSize, in the file ConfigFile.xml in the folder \Gemini Web Application\RadControls\Editor with no success.

Thanks in advance for your help.

rbr
· 1
rbr
Replies (10)
helpful
0
not helpful

Please see: http://community.countersoft.com/forums/thread/3737.aspx


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thank you for your quick answer.

We saw that already in the forum and made the test with no success.

We replaced the value 44096 by  308672 (multiply by 7) in the variable maxRequestLength but we still can not upload more than 200kb. We tried with a 900 kb image.

Moreover, the RADEditor interface still display the maximum size equal to 200 KB.

 


rbr
· 1
rbr
helpful
0
not helpful

Sorry, my mistake.

Please amend the RichText.ascx file (under controls) and add the following to the RADEditor tag:

MaxImageSize="xxx" where xxx is the size in bytes....


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

It works.

Thank you very much for your help.


rbr
· 1
rbr
helpful
0
not helpful

I tried this change, but the Image Manager still says 200k.  I'm using version 3.0.4.
Any help would be greatly appreciated.
Thanks
Paul.


mcswap1
· 1
mcswap1
helpful
0
not helpful

In 3.0.4 the property is

ImageManager-MaxUploadFileSize


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Works great!
Thanks!


mcswap1
· 1
mcswap1
helpful
0
not helpful

Hello,

I have tried both settings, MaxImageSize and ImageManager-MaxUploadFileSize and nothing did work.

The configuration currently is set to allow 1M files:


The prompt window displays 200KB max:


The upload fails on 2 x 300KB file:


We are using version 3.7.
How to change that?

Thanks in advance


Remik
· 1
Remik
helpful
0
not helpful

The richtext.ascx should be:
<ImageManager EnableImageEditor="true" MaxUploadFileSize="YOUR SIZE HERE"
         ViewPaths="~/controls/RAD/UserImages"
         UploadPaths="~/controls/RAD/UserImages"
         DeletePaths="~/controls/RAD/UserImages" />


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

That's correct, it helped.

Thank you for claryfying this.


Remik
· 1
Remik