[Flickr addon] Random images - easy!
This is a cool little plugin. If you want to display random images from a photosteam (as opposed to latest, as is the default) all it takes is one change to class.flickr.plugin.php.
Simply change:
to
NB: caps are only for emphasis here.
More info:
http://www.flickr.com/badge.gne
and
http://www.flickr.com/services/api/
Simply change:
$FlickrCode = '<div id="flickr_tab"><script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count='.$NumPics.'&display=LATEST&size=s&layout=x&source=user&user='.$UserID.'"></script></div>';
to
$FlickrCode = '<div id="flickr_tab"><script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count='.$NumPics.'&display=RANDOM&size=s&layout=x&source=user&user='.$UserID.'"></script></div>';
NB: caps are only for emphasis here.
More info:
http://www.flickr.com/badge.gne
and
http://www.flickr.com/services/api/
0
Comments
There was an error rendering this rich post.
There was an error rendering this rich post.
There was an error rendering this rich post.