views:

210

answers:

2

I need a web based editor that will allow the user to drop an image on the screen and it will upload the image and then reference it. Are there any editors out there that will fill the bill. I mainly need it to work in IE6 as that is what IT here has deemed as the standard browser.

A: 

I don't know of an editor doing this, but I think that you don't need to do this in the editor. When uploading the HTML, you can "just" go through it and look for any img src attribues pointing to a non-local (relative to your application) address and upload it.

If you do this on the server side, it will only work for http:// image urls, but not for images the user had stored locally (e.g. file:///-protocol). I'm not sure that you can get those files, it would need to be a client-side JavaScript solution which somehow gets the binary image data for the referenced images to the server.

Lucero
Your answer doesn't refer to cut-and-paste, which is something users try and do, assuming that a web page has the same functionality as Word. Very important usability distinction.
crb
The HTML editor components which can be used in web browsers allow copy-and-paste, but when you do this the images inserted will point to the original locations of the URLs. I was assuming that this was the issue in this case.
Lucero
A: 

It would almost certainly have to be written in something like Flash or Java.

Here is a link to some Java code to extend the TinyMCE editor, that might do what you want

Some work started on a Twiki plugin called JavaPaste which might be useful as a starting point if you can't find anything else.

crb