The CreatePhotoFromUrl method creates a new photo by downloading it from the specified URL. This method is new in API 1.3
long CreatePhotoFromUrl(
long galleryId,
string url,
string cookies
)64-bit identifier of the photo just created.
The gallery identified by the galleryId parameter must be owned by the currently authenticated user.
The list of cookies in the cookies parameter should be formatted as follows:
name1=value1;name2=value2;...;nameN=valueN
Any values containing special characters should be URL-encoded.