Internet Explorer: Resizing Images in Web-based HTML Editor
Thanks for stopping by my personal blog on Marketing Technology! Over 50,000 visitors a month find my content worth returning for, so don't forget to subscribe to the Marketing Technology Blog RSS feed or to the Marketing Technology Email to have new content sent directly to your inbox. You may also find my other business blog helpful, Social Media Domination.
We had an interesting issue come up with an inline HTML editor at my work. The editor is very robust and is nicely built with Javascript so that it doesn’t require any downloads or plugins. However, the one thing that we notice is that Internet Explorer doesn’t play well with image resizing within the editor (which is based in a textarea).
Here’s an example, using TinyMCE’s editor:
http://tinymce.moxiecode.com/example_full.php?example=true
If you open this editor in Firefox, you’ll notice that dragging the image maintains the aspect ratio of the image:
However, in Internet Explorer, it doesn’t maintain the aspect ratio at all. Is it possible to constrain the dimensions of the image as it’s dragged in Internet Explorer? I’ve scoured the net and I’m coming up empty on this one! Has anyone worked around this issue by getting the properties back from the DOM object and then properly proportioning the completed image? Any tips or tricks would be appreciated!

Douglas Karr
MSDN 1
MSDN 2
MSDN 3
I have faced the same issue.
Can you please help me solve it ?
Thanks in advance !