2 deleted 3 characters in body
source | link

You shouldn't assign a string valus to image is not be simple a string... According According to the example in this page, at first you must download files to temporary directory using download_url() and assign object returned by this function to $image:

$image = download_url("http://yoursite.com/image01.jpg");

Note that you mustDon't forget to unlink() the $image at the end of function.

image is not be simple a string... According to the example in this page, at first you must download files to temporary directory using download_url() and assign object returned by this function to $image:

$image = download_url("http://yoursite.com/image01.jpg");

Note that you must unlink() the $image at the end of function.

You shouldn't assign a string valus to image. According to the example in this page, at first you must download files to temporary directory using download_url() and assign object returned by this function to $image:

$image = download_url("http://yoursite.com/image01.jpg");

Don't forget to unlink() the $image at the end of function.

1
source | link

image is not be simple a string... According to the example in this page, at first you must download files to temporary directory using download_url() and assign object returned by this function to $image:

$image = download_url("http://yoursite.com/image01.jpg");

Note that you must unlink() the $image at the end of function.