Wednesday, May 23, 2012

flickr api grab url php

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="" title="Chou fleurs by Nicolas de Fontenay, on Flickr"><img src="" width="500" height="375" alt="Chou fleurs"></a>

I think it's good to use some API function and to designate $variables to:

  • 53067560@N00

  • 2658147888

  • "Chou fleurs by Nicolas de Fontenay, on Flickr"

  • ""

  • "500"

  • "375"

  • "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?

No comments:

Post a Comment