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

Couple of image editing issues

5 Answers 109 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jason Rodman
Top achievements
Rank 1
Jason Rodman asked on 18 Apr 2008, 06:12 PM
During my implementation of the prometheus RadEditor, i noticed the following issues/bugs:

1. When resizing an image I uploaded and embedded in the body of the editor, I could not find a way to keep it proportional when dragging by the handles. Is there a way to do this? I was hoping there was something like photoshop has where holding the ctrl button while dragging keeps it proportional. I tried setting the image properties which have a "link" icon between the height/width that indicates that it should stay proportional, but it doesn't. I was expecting to plug in a width and it calculate the height, but it didnt. Any suggestions?

2. I was using the image editor within the image manager and tried to use the crop feature. I move the box around the section I wanted to crop to and saved it. But what happened is instead of cropping to the points I set (which were more in the center of the image) it cropped starting from the top left edge to the size I had set. Its as if it ignored its starting x/y position and only cropped based on the height/width of the box.

5 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 22 Apr 2008, 11:40 AM
Hi,

We are using the internal browser image resizing mechanism to modify the image dimensions when the editor is in design mode. Different browsers implement this functionality in different ways. Internet Explorer allows you to freely resize the image, while Firefox maintains the image proportions when you drag the image corner. Opera and Safari do not have the image resizing functionality at the moment.

I think the set image properties has a bug. The link icon between the width and height boxes should be open by default. You need to click it in order for the image to maintain its proportions. Try opening the image properties, clicking the chain icon and then changing the width/height.

About the image cropping problem - I tried to reproduce it with a sample image (crop region in the center), but the new image displayed the correct region. Could you give me some more details and steps I can use to reproduce the problem - e.g. upload an image, open image editor, set image size to 600x800, select crop region from 400x400 and make it 100x100, etc.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jason Rodman
Top achievements
Rank 1
answered on 22 Apr 2008, 01:48 PM
I was unable to reproduce the cropping problem again. It only happened that one time to me. I will keep trying to see if I can get it to do it reliably.

The image resizing issue, I thought that you used javascript to resize the image when the user drags a handle, but you are saying that functionality is built into each browser (except safari and opera)? Am I correct in this? Should you rely on the browser to do this, or should you build your own so that it works consistently across all browsers?

You were right about the image properties dialog, if I click the link to unlink and link it again its starts working. It just doesn't work right away without clicking it. Any estimate what release that bug will be fixed in?
0
Lini
Telerik team
answered on 24 Apr 2008, 12:31 PM
Hi,

I think I found out when the cropping problem occurs - when the image is big enough (there are scrollbars on the image area) and the cropping area is moved so there is some scrolling of the image. We will investigate this further.

We are using javascript to resize the image only in the Image Editor dialog (the width and height sliders). When the image is in the editor content area we use the browser engine. This is primarily done for speed issues - using a custom resize mechanism will slow down editing a lot because of all the extra code. At the moment, we have no plans to change this behavior.

The image properties bug will be fixed in the next service pack release (scheduled for the middle of May).

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
JOSE FRANCISCO TORRA
Top achievements
Rank 1
answered on 30 Oct 2008, 03:41 PM
I've purchased the 2008.2 1001 version of radcontrols for asp net AJAX and we are experiencing the crop broblem as described here.
¿Is tehere any update to my version?¿where can i find it?
Thanks in advance
0
Rumen
Telerik team
answered on 03 Nov 2008, 04:31 PM
Hi Jose,

Unfortunately, the observed large image crop problem is not yet fixed. It is logged in our bug tracking system and once our developers fixed it we will list this change in the Release Notes section on our side.


Kind regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Jason Rodman
Top achievements
Rank 1
Answers by
Lini
Telerik team
Jason Rodman
Top achievements
Rank 1
JOSE FRANCISCO TORRA
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or