This tutorial is an example of a how to display more than 50 photos in a photoset. This feature is only available in the Slickr Flickr Pro Edition from version 1.22 onwards. Without the Pro edition you can still display up to 50 photos from a photoset if you enter your API key or just 20 photos in you do not enter your API key. Also it is important to note that the API based search of the photoset return the photos in the same sort order as they appear in the photoset on Flickr.
The syntax is as follows: search=”sets” set=”your set id” items=”number of photos you want to display”
Video Tutorial on How To Display All Your Photos In A Photoset
Prerequisites
This feature uses the Flickr API so you need to have entered your Flickr API key in Slickr Flickr Admin Settings to fetch more than 20 photos.
If you want more than 50 photos you also need to have entered and validated your Pro Licence key in Slickr Flickr Admin Settings.
Fetch the 20 Most Recent Photos from Photosets Using RSS Feed
If you specify the “items” parameter to be 20 or less than Slickr Flickr uses the RSS feed to fetch the photos – this will deliver the photos in date descending order with the latest photos first. If you want 20 photos or less and want the same order as the photoset you can specify: use_key=”y” to force Slickr Flickr to use the Flickr API and hence have the photos respect the date order that appears in the photoset on Flickr
Example Code of photos with the latest first
[code]slickr-flickr search="sets" set="72157625412406257" items="20" type="gallery" flickr_link="on"[/code]
Example Code of photos with the same order as Flickr
[code]slickr-flickr search="sets" set="72157625412406257" items="20" use_key="y" type="gallery" flickr_link="on"[/code]
Fetch More Than 20 But Less Than 50 Photos from Photoset Using the Flickr API
Example Code
[code]slickr-flickr search="sets" set="72157625412406257" items="30" type="gallery" flickr_link="on"[/code]
Th first 30 photos are displayed in the same order as they are fond in the photoset
Fetch More Than 50 from Photosets (Pro Edition only)
Example Code
[code]slickr-flickr search="sets" set="72157625412406257" items="60" type="gallery" flickr_link="on"[/code]
At time of writing the gallery is showing all 54 photos from the photoset in the same order as found on Flickr.
Russell says
Without a Flickr API key, then Slickr Flickr uses “Flickr RSS” which limits you to 20 photos.
Check you Flickr API Key has been entered in Slickr Flickr Admin settings. This will deliver up to 50 photos. You can check your Flickr API key is vlid by logging in to flickr.com and looking in your account settings
Didi says
Dear Russel,
when I put the shortcode
[slickr-flickr search="sets" set="number set of my album" items="30" type="gallery" flickr_link="on"]
into my album I only saw the title photo and the first photo of album.
if I change to
[slickr-flickr search="sets" set="number set of my album" items="20" type="gallery" flickr_link="on"]
the side is showing me 20 pictures, what is right, due to number 20.
but why it isn`t working with 30 ?
do you have an idea ?
and if it will work, what is the price for the pro Edition ?
best regards
didi
Jeannine says
Russell you were so right. Thank you. I need to pay closer attention to instructions! Many many thanks.
Jeannine
Russell says
Jeannine, The Flickr ID in the feed URL is an invalid one mwsinc516 – Put your Flickr URL into the box at http://idgettr.com to find out your correct Flickr ID
Jeannine says
I got the API key and installed, but am getting this error message:
Error fetching Flickr photos: A feed could not be found at http://api.flickr.com/services/feeds/photoset.gne?lang=en-us&format=feed-rss_200&nsid=mwsinc516&set=72157633574857340&per_page=20. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.
Any ideas? This used to work so I unsure of the issue. I am on teh latest version of wordpress and slickr flickr
Russell says
Hi John,
I will finally be adding this as a feature in a release later this month
Regards
Russell
john says
is there a way to pull all sets into a gallery? then once each thumbnail is clicked on it opens each set individually as a gallery?
erik says
i was wondering is there a was for me to display only cretin photos from a set based on tags?
[slickr-flickr search="sets" set="555555555555" tag="sometag" items="15" type="gallery"]