Read image from URL & upload

后端 未结 3 1859
眼角桃花
眼角桃花 2021-01-21 02:09

I am not able to find a proper way to read an image from a URL and upload it using JavaScript/Ajax.

Suppose there is a URL: https://pbs.twimg.com/profile_images/15

3条回答
  •  别那么骄傲
    2021-01-21 02:52

    @DheerajAgrawal

    see this example: http://jsfiddle.net/WQXXT/3004/

    you should customize that, where it says:

    alert('start upload script here');
    

提交回复
热议问题