Placing (draggable) images in Text Areas

There are ways to embed images in document, but in this post, if the image is available from a url, then you can easily reference such image from the internet or local network.

<div id='yourImage'>Loading...</div>

//this script will replace the inner html in the div. In this case, an <img> tag, which is not supported by default settings from the server directly on the html text area, will be pointing to an animated gif resource:

resource = ""

//remove the last // to make the image draggable!

No comments: