Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 64

Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
06/19/12 06:56 PM (13 years ago)

Flickr only shows 25 images at a time?

Hey guys-so I've got an image gallery in one of my apps that is hosted on flickr. I've noticed that it only shows the most recent 25 images - is there any way to get it to show all of the images in the gallery?
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
06/19/12 07:10 PM (13 years ago)
hey absentia, is all the files on flickr in one spot? i know the basics of imagery and there should be a code or something somewhere that says how many images to display, try to find out if its flickr thats the problem, or is it an a plugin problem, if flickr is the problem you might want to move your images to somewhere else
 
Vali
buzztouch Evangelist
Profile
Posts: 193
Reg: May 22, 2011
Bucharest
5,830
like
06/19/12 11:27 PM (13 years ago)
Hi Absentia, I bumped into this wall as well. It seems that flickr only allows the latest 20 pics to make it to the RSS feed. There are some ways to bypass this rule. See here some Q&As: http://www.flickr.com/help/forum/en-us/97574/ http://www.flickr.com/help/forum/47208/?search=flickrwegian http://www.slickrflickr.com/1376/how-to-display-photos-from-a-flickr-photo-set/
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
06/20/12 12:23 AM (13 years ago)
thanks for the links - they didn't exactly solve the issue but they made me take a closer look at my original link. Turns out the solution was incredibly simple: This is the data url I was using before - http://api.flickr.com/services/rest/?method=flickr.people.getPublicPhotos&api_key=xxxxxx&user_id=xxxx&per_page=25&format=json I didn't even see the "per_page=25" at the end :P - I changed it to "per_page=500" and it works perfectly now. So far I only have 68 images in the gallery but, as far as I know, 500 is the most flickr will load at once so I just went with that number
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
06/20/12 04:23 AM (13 years ago)
The maximum amount Flickr allows on a photostream without upgrading ($25 per yr) is 200. After that it will just knock the oldest photos off.
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
07/20/12 08:22 AM (13 years ago)
Is the data string shown above only for BT 1.5 or can I use in BT 2.0?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.