Hi,
I'm trying to Resize the image as soon as the image is cropped, without success.
I thought about something like this (does not work):
or this (work but loop indefinitely) :
How would you do that ? I'm using the last Telerik dll so doing something inside the 'Crop.ascx' ImageEditorDialogs is possible if its the way to go.
Thanks Arnaud
I'm trying to Resize the image as soon as the image is cropped, without success.
I thought about something like this (does not work):
function OnClientImageChanged(imageEditor, args) {
if (args.get_commandName() == "Crop") {
imageEditor.resizeImage(150, 250, true)
}
}
or this (work but loop indefinitely) :
function OnClientImageChanged(imageEditor, args) {
if (args.get_commandName() == "Crop") {
var timer = setInterval(function () {
imageEditor.resizeImage(150, 250, true)
}, 100);
}
}
How would you do that ? I'm using the last Telerik dll so doing something inside the 'Crop.ascx' ImageEditorDialogs is possible if its the way to go.
Thanks Arnaud