Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[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:

$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/

Comments

  • @NorthwestVeloSite I'm going to be updating the plugin soon, adding more options to settings, this being one them. :)

    There was an error rendering this rich post.

  • Sweet. I didn't think my "customization" was anything groundbreaking, but it seems there are so many obvious ways Vanilla and Flickr (and Flickr-like services) could intersect. A plugin enabling users to define their Flickr accounts and insert images from a Flickr-api enabled gui, random site backgrounds (or topically-relevant backgrounds), etc. :)
  • @NorthwestVeloSite yep! some good ideas there! If you're a developer, feel free to contribute to this plugin :)

    There was an error rendering this rich post.

  • I am a "copy and paster." ;)
  • @NorthwestVeloSite lol ;p well, feel free to "copy and paste" ideas!

    There was an error rendering this rich post.

  • I just installed this and for some reason when I enable the plugin and then click settings I'm just brought back to the regular Dashboard view with stats. How can I help debug the issue?
  • I get the same as davidX. I install and get redirected to the dashboard when I try to configure the settings.
  • same here, Is there a fix for this?
Sign In or Register to comment.