Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: AutoResizeUploadedImages
AutoResizeUploadedImages
Last post 07-07-2011, 3:42 AM by
kjell.ek
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
07-06-2011, 3:58 AM
68365
kjell.ek
Joined on 11-09-2008
Posts 155
AutoResizeUploadedImages
Reply
Quote
I
have set
AutoResizeUploadedImages
to true
in Security
.
Config
file.
Working correctly
except that
when
I upload
an image
as a document
to
"file
gallery
path"
so
the image is scaled
even then
.
How
do I
get around
it
?
I just want
to
AutoResizeUploadedImages
= true
when i
use
the
"insert
image"
function
, not
when I choose
"Insert
Document
"
07-06-2011, 10:01 PM
68371
in reply to
68365
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: AutoResizeUploadedImages
Reply
Quote
Hi kjell.ek,
Please add the setting below into to your page which contains CuteEditor .
protected
override
void
OnLoad(EventArgs e)
{
Editor1.Setting[
"security:InsertDocument-AutoResizeUploadedImages"
] =
"false"
;
Editor1.Setting[
"security:InsertDocument-MaxImageWidth"
] =
"2000"
;
Editor1.Setting[
"security:InsertDocument-MaxImageHeight"
] =
"2000"
;
Editor1.Setting[
"security:InsertDocument-MaxImageSize"
] =
"2000"
;
base
.OnLoad(e);
}
Regards,
ken
07-07-2011, 3:42 AM
68375
in reply to
68371
kjell.ek
Joined on 11-09-2008
Posts 155
Re: AutoResizeUploadedImages
Reply
Quote
It works when i use resource name="InsertDocument"
Not when i use resource name="insertlink" to upload a image, then the
AutoResizeUploadedImages
= true