each photoset has a ID so you would use that http://www.lumis.com/eeflickr/tag/photosets_getphotos/
{exp:eeflickr:photosets_getPhotos photoset_id="1813717" page="page1" per_page="30" }
{eeflickr:photosets_getPhotos_loop}
{id}
{secret}
{server}
{farm}
{title}
{isprimary}
{datetaken}
{datetakengranularity}
{ownername}
{iconserver}
{iconfarm}
{originalsecret}
{originalformat}
{lastupdate}
{/eeflickr:photosets_getPhotos_loop}
{eeflickr:photosets_getPhotos_paging}
{page}
{pages}
{perpage}
{total}
{/eeflickr:photosets_getPhotos_paging}
{/exp:eeflickr:photosets_getPhotos}
I Posted this because it may help someone else
Hi, I’m new to expression engine but I think this is the module I need for what I’m trying to do. What I want to do is return a certain number of photos that have a certain tag applied to them. For example if the tag was “expressionengine” I would want to get 12 square images (random or most recent, doesn’t matter) of anyone’s photos tagged with “expressionengine”, regardless of user, group, set, or whatever. Any way that’s possible using your plugin? Thanks.
Flickr’s API does not do random so you have to sort with what is available in the below example i sorted by Interesting
{exp:eeflickr:photos_search tags="expressionengine" page="{segment_2}" per_page="30" sort="interestingness-desc" }
{eeflickr:photos_search_loop}
<img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_s.jpg" alt="" />
{if no_results}
some text here
{/if}
{/eeflickr:photos_search_loop}
{eeflickr:photos_search_paging}
{exp:eeflickr:paginate page="{page}" pages="{pages}" perpage="{perpage}" total="{total}" max_links="2"}
Page {current_page} of {total_pages} pages
{if current_page != "1"}{first_page_link} <a href="http://{prev_page_url}">« Previous</a>{/if}
{pagination_links}
{if current_page != total_pages}<a href="http://{next_page_url}">Next »</a> {last_page_link}{/if}
{/exp:eeflickr:paginate}
{/eeflickr:photos_search_paging}
{/exp:eeflickr:photos_search}
This module doesn’t produce any output for me.
I’ve installed it correctly but when I try to use the tags in a template nothing is output. I’ve tried different examples in the documentation and my own trials but it’s just blank output.
eeFlickr 0.6.7 ExpressionEngine 1.6.3 Build: 20080421
Looking like an excellent plguin. I look forward to getting it fixed.
From the docs I’m in love already but I can’t get the module firing on all cylinders. I’ve added my Flickr API key in the module CP and have the relevant tags in my template”
But I get the error…
Notice: unserialize() [function.unserialize]: Error at offset 0 of 22 bytes in /home/*******/public_html/admin/modules/eeflickr/mod.eeflickr.php on line 163
Any ideas? I’ve tried clearing the cache, checking folder permissions etc…
Ah, I have the wrong value under user_id, I eventually realised that but I still get the same PHP error and no photos…
Worth knowing that you can find your ‘NCID’ here: http://www.flickr.com/services/api/explore/?method=flickr.people.getInfo
I’m having problems getting the {if no_results} tag to work. Here is my code:
{exp:eeflickr:photos_search machine_tags="tcn:project={entry_id}" per_page="1" extras="owner_name,machine_tags"}
{eeflickr:photos_search_loop}
<img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_t.jpg" alt="" />
{if no_results}images/global/none.gif{/if}
{/eeflickr:photos_search_loop}
{/exp:eeflickr:photos_search}
It works fine when there is a result, but if there is no photo, it doesn’t display anything.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.