Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flickr original/large size #191

Open
bigbaconclassic opened this issue Nov 15, 2014 · 1 comment
Open

Flickr original/large size #191

bigbaconclassic opened this issue Nov 15, 2014 · 1 comment

Comments

@bigbaconclassic
Copy link

The only options for flickr image sizes are t,s,m,z,b.

Is there support for 'k' large, or 'o' original size?

@mendhak
Copy link
Contributor

mendhak commented Jul 27, 2019

I did this by adding the extra querystring parameters to the Flickr API call. Example

var flickrURL =  'https://api.flickr.com/services/rest/?&method=flickr.photosets.getPhotos&extras=url_k,url_q&api_key=' + ...

I added the extras=url_k,url_q to all four URLs.

Then below in the loop,

$.each(flickrResults, function(i,item){
    //create image urls
    var photoURL = item.url_k;
    var thumbURL = item.url_q;
    ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants