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 set MaxImageSize?

web-app

Hi,

I am using Gemini V2.05. Could you please tell me how can I set the MaxImageSize of the r.a.d Editor. I am already set the value at the ConfigFile.xml. Unfortunately I couldn't see any changes after I restart the IIS and appliaction.

Thanks

Vincent

Vincent See
· 1
Vincent See
Replies (3)
helpful
0
not helpful
ANSWER

You need to change the RichTextCtrl.ascx file (under issue) and add the MaxImageSize setting:

<radE:RadEditor id="RadEditor1" Runat="server" ToolsFile="~/RadControls/ToolsFile.xml" Scheme="Office2000"
 ShowSubmitCancelButtons="False" Editable="True" TemplatePaths="~/issue/RAD/UserTemplates"
 UploadTemplatePaths="~/issue/RAD/UserTemplates" DeleteTemplatePaths="~/issue/RAD/UserTemplates"
 UploadImagesPaths="~/issue/RAD/UserImages" ImagesPaths="~/issue/RAD/UserImages" UploadMediaPaths="~/issue/RAD/UserImages"
 MediaPaths="~/issue/RAD/UserImages" FlashPaths="~/issue/RAD/UserImages" UploadFlashPaths="~/issue/RAD/UserImages"
 UploadDocumentsPaths="~/issue/RAD/UserImages" DocumentsPaths="~/issue/RAD/UserImages" AllowThumbGeneration="True" MaxImageSize="1048576"></radE:RadEditor>

This example will give you up to 1MB.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

MarkWing,

It's work...Thanks so much !!!

 

Vincent


Vincent See
· 1
Vincent See
helpful
0
not helpful

As an update because I asked the same question, here is the new location for this fix:

Open the Controls\RichText.ascx file and add the max upload file size: <\ImageManager EnableImageEditor="true" ViewPaths="~/controls/RAD/UserImages" UploadPaths="~/controls/RAD/UserImages" DeletePaths="~/controls/RAD/UserImages" MaxUploadFileSize="xxx" />


acrmartin
· 1
acrmartin