I'm looking for a solution to render image before uploading via input URL.

My code
<input name="thumbnail" placeholder="Post image URL here" />
I've been trying methods like this. Adding onchange="readURL(this);" to above mentioned code does nothing. It appears they only work with local files only.
 
    