samwilson / phpflickr

A PHP wrapper for the Flickr API, including OAuth.
https://packagist.org/packages/samwilson/phpflickr
GNU General Public License v2.0
40 stars 15 forks source link

buildPhotoURL() shouldn't break if original isn't available #16

Open samwilson opened 5 years ago

samwilson commented 5 years ago

When downloading a photo which doesn't have an original size available, buildPhotoURL() should return false.

Also, we should add some sort of 'max available' size, because that's usually what we're looking for when we ask for original.