Returns next and previous photos for a photo in a group pool.
Params
- photo_id : (Required) The id of the photo to fetch the context for.
- group_id : (Required) The nsid of the group who's pool to fetch the photo's context for.
- sign: "yes" set to yes if you are requesting your (private,friends,family) data if this is not set only public data is returned for this tag. (about Authentication)
- refresh: (cache time in minutes) this overrides the default time eeFlickr stores Flickr API data before requesting new data from Flickr
Full Tag
{exp:eeflickr:groups_pools_getContext photo_id="2041092363" group_id="16575254@N00"}
{prevphoto_id}
{prevphoto_secret}
{prevphoto_server}
{prevphoto_farm}
{prevphoto_title}
{prevphoto_url}
{prevphoto_thumb}
{nextphoto_id}
{nextphoto_secret}
{nextphoto_server}
{nextphoto_farm}
{nextphoto_title}
{nextphoto_url}
{nextphoto_thumb}
{/exp:eeflickr:groups_pools_getContext}
Sample Usage
{exp:eeflickr:groups_pools_getContext photo_id="2041092363" group_id="16575254@N00"}
<div class="rail_box">
<div class="context"> previous {if prevphoto_thumb}<a href="#" title="{prevphoto_title}"><img src="{prevphoto_thumb}" alt="{prevphoto_title}"/></a>{if:else}<img src="http://l.yimg.com/www.flickr.com/images/en-us/placeholder_first_photo.gif" alt=""/>{/if}</div>
<div class="context"> next {if nextphoto_thumb}<a href="#" title="{nextphoto_title}"><img src="{nextphoto_thumb}" alt="{nextphoto_title}"/></a>{if:else}<img src="http://l.yimg.com/www.flickr.com/images/en-us/placeholder_last_photo.gif" alt=""/>{/if}</div>
</div>
{/exp:eeflickr:groups_pools_getContext}
Sample Will Output
previous

next
