In my local webserver, I'm trying to generate the text for pasting to my blog, followed by below question:
How to get static image url from flickr URL?
<a href="http://www.flickr.com/photos/53067560@N00/2658147888/" title="Chou fleurs by Nicolas de Fontenay, on Flickr"><img src="http://farm4.staticflickr.com/3221/2658147888_826edc8465.jpg" width="500" height="375" alt="Chou fleurs"></a>
I think it's good to use some API function and to designate $variables to:
- "Chou fleurs by Nicolas de Fontenay, on Flickr"
- "Chou fleurs"
, but don't know how to code in detail. Ideally, a function
getFlickrImageURLforGrab(name of Set, # of photos)
ex.) getFlickrImageURLforGrab(myset1, 10) returns first 10 photo's URLs in the Set myset1 are displayed. Would you please show a simple php example?