Giter Site home page Giter Site logo

Comments (4)

PomepuyN avatar PomepuyN commented on August 19, 2024

You're right. I missed these parameters. I will change it as soon as possible.

from muzei-flickr.

PomepuyN avatar PomepuyN commented on August 19, 2024

I just took a look at this.
Actually, not all size can be returned by flickr.photos.search. Only the one listed here: http://www.flickr.com/services/api/flickr.photos.search.html

After having implementing it, the original size is always used, leading in massive data downloads. I strongly prefer one more call by photo than loading a bunch of data.

from muzei-flickr.

eboudrant avatar eboudrant commented on August 19, 2024

I can get all size available. See :

Request :
http://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=bcb1e44260364b1bf6294f00a4cd1cb4&tags=tokyo&extras=owner_name%2Curl_m%2Curl_c%2Curl_b%2Curl_h%2Curl_k&format=json&nojsoncallback=1

Result :

{
    "id": "12704665293",
    "owner": "59114488@N00",
    "secret": "ddd5a487bf",
    "server": "7429",
    "farm": 8,
    "title": "Club Sega, Akihabara, Tokyo",
    "ispublic": 1,
    "isfriend": 0,
    "isfamily": 0,
    "ownername": "jev",
    "url_m": "http://farm8.staticflickr.com/7429/12704665293_ddd5a487bf.jpg",
    "height_m": "500",
    "width_m": "500",
    "url_c": "http://farm8.staticflickr.com/7429/12704665293_ddd5a487bf_c.jpg",
    "height_c": "800",
    "width_c": "800",
    "url_h": "http://farm8.staticflickr.com/7429/12704665293_6f12b120d7_h.jpg",
    "height_h": "1600",
    "width_h": "1600",
    "url_k": "http://farm8.staticflickr.com/7429/12704665293_78b9582109_k.jpg",
    "height_k": "2048",
    "width_k": "2048"
}

Note : Flickr photo's size doc is missing two sizes. They are the most interesting for you as they are the 2 biggest size : url_h (1600px) and url_k (2048px)

from muzei-flickr.

PomepuyN avatar PomepuyN commented on August 19, 2024

I will take a look. I should have missed the right keys.

from muzei-flickr.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.