Menu

#3 buildPhotoURL is hardcoded to use suffix '.jpg'.

open
nobody
None
5
2006-07-16
2006-07-16
Martijn Ras
No

buildPhotoURL is hardcoded to use suffix '.jpg'.

I was trying to get to the URL of one of my original
pictures, for which the suffix may be one of the
following three values (as described in:
http://www.flickr.com/services/api/misc.urls.html\):

- jpg
= gif
* png

In case the parameter '$size' of function
"buildPhotoURL" is set to 'original' it should be
possible to use one of the other two suffixes. Can the
method be changed so an additional parameter that
defaults to '.jpg' may be specified?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.