{"id":212,"date":"2011-07-22T13:26:04","date_gmt":"2011-07-22T13:26:04","guid":{"rendered":"http:\/\/www.slickrflickr.com\/upgrade\/?p=212"},"modified":"2011-07-22T13:38:14","modified_gmt":"2011-07-22T13:38:14","slug":"random-flickr-photos","status":"publish","type":"post","link":"https:\/\/www.slickrflickr.com\/upgrade\/random-flickr-photos","title":{"rendered":"Random Flickr Photos"},"content":{"rendered":"<p>When displaying a slideshow in a sidebar widget on every page on your blog, the slideshow will show the same photos. What would be nice is to have some variety.<\/p>\n<p>With Slickr Flickr Pro you can fetch a larger number of photos and only display a subset of them in a random order.<\/p>\n<p>Slickr Flickr Pro uses a cache to hold the fetched photos so the performance remains good.<\/p>\n<p>Typical usage: random=&#8221;number of photos to display&#8221; items=&#8221;number of photos to fetch&#8221; <\/p>\n<p>Here is an example of displaying 10 photos at random from 50 fetched from the <a href=\"http:\/\/www.flickr.com\/groups\/cavalierkingcharlesspaniels\/\">Cavalier King Charles Group<\/a>.<\/p>\n<div id=\"flickr_67fd49ba856c29d05849f3c4fcb70930\"><div class=\"slickr-flickr-gallery sf-lightbox\"><ul><li class=\"active\"><a href=\"https:\/\/live.staticflickr.com\/5293\/5474738649_f9435949eb.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/5293\/5474738649_f9435949eb_s.jpg\"   title=\"diego\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/4091\/5162848134_19a184907e.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/4091\/5162848134_19a184907e_s.jpg\"   title=\"diego snacks on a carrot\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/3483\/3976857334_48c8ba9768.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/3483\/3976857334_48c8ba9768_s.jpg\"   title=\"Warm Feet\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/3718\/10638189003_b3bbba0b66.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/3718\/10638189003_b3bbba0b66_s.jpg\"   title=\"some diegos from the past year or so that i&amp;#039;ve never uploaded!\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/5051\/5475336892_b4400ea415.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/5051\/5475336892_b4400ea415_s.jpg\"   title=\"diego\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/5258\/5474738323_b67fb5b373.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/5258\/5474738323_b67fb5b373_s.jpg\"   title=\"petunia, winnifred, diego\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/6003\/5952594695_c2997cfc10.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/6003\/5952594695_c2997cfc10_s.jpg\"   title=\"diego\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/5085\/5350717799_170832edfa.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/5085\/5350717799_170832edfa_s.jpg\"   title=\"diego watching the neighborhood\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/1100\/5162242539_73c0714bf2.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/1100\/5162242539_73c0714bf2_s.jpg\"   title=\"diego snacks on a carrot\" \/><\/a><\/li><li><a href=\"https:\/\/live.staticflickr.com\/4020\/5162240909_bf48ff8ed9.jpg\"  ><img decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/4020\/5162240909_bf48ff8ed9_s.jpg\"   title=\"diego snacks on a carrot\" \/><\/a><\/li><\/ul><\/div><div style=\"clear:both\"><\/div><\/div>\n<p><i>Refresh the page to see more random photos of Cavalier King Charles Spaniels<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When displaying a slideshow in a sidebar widget on every page on your blog, the slideshow will show the same photos. What would be nice is to have some variety. With Slickr Flickr Pro you can fetch a larger number of photos and only display a subset of them in a random order. Slickr Flickr [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-212","post","type-post","status-publish","format-standard","category-features","entry"],"_links":{"self":[{"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/posts\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":0,"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.slickrflickr.com\/upgrade\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}