dan-coulter / phpflickr

PHP Wrapper for the Flickr API
GNU General Public License v2.0
207 stars 128 forks source link

Get the url for the photo after upload #51

Closed matiasfha closed 2 years ago

matiasfha commented 9 years ago

I'm using sync_upload.. would be nice if the method also return the url for the photo and not just the ID.. i need to embed the photo in the website..

marceloj commented 9 years ago

$result = $flickr->sync_upload($File,$Title, $Description, $Tags,$is_public,$is_friend,$is_family);//1,1,1,1,2,1,2

if(isset($result)) echo '<a href=https://www.flickr.com/photos/'.IDUSER.'/' .$result. '> Link';