Display your Flickr photos in your sidebar.
Use this widget to display your Flickr photos in your sidebar, via a Flickr username or a Flickr RSS feed URL.
/wp-content/plugins/
directoryJust rewrote the whole sh**, now uses the WP_Widget class, uses the WordPress HTTP functions, transient caching and more. The upgrade script will (hopefully) update your old widget to the new widget.
Minor js bugfix.
Compatible with WordPress 2.8 (Thickbox, jQuery) and 1.5. Fixed some Javascript bugs. Photos titles in divs instead of spans.
Whoops! Fixed the javascript problem 😉
Increased maximum number of photos from 10 to 20. You can now use javascript instead of php! Under beta though 😉
Added the “Random pick” ability using shuffle.
Minor bugfixes (including the Thickbox siteurl issue). Added the ability to filter images by tags. Licensed under GPL v3.
Now supports Thickbox effects! +minor bugfixes. Does not require JSON functions anymore, therefore works on PHP 4.
Minor bug fixes. Using php format and eval() instaed of json and json_decode().
Now supporthing both Flickr screen name and RSS feed in the widget configuration. Please note, that if you are using a Flickr RSS feed, then it SHOULD start with http://api.flickr.com/services/feeds
.
Took me a while to figure out the difference between username and screenname in the Flickr API. There was a bug in 1.2 when using screen names with spaces. Here’s a fixed version. Special thanks to Tung Nguyen Thanh 😉
Considered some feature requests. Okay, so I don’t use RSS anymore, cause that sucks. Flickr has got an open API, so I use the REST interface to send requests and retrieve data in JSON format. It’s much easier this way – no more useless regular expressions. In this version I don’t even require you to go get your RSS feed link, all you need is a Flickr username and you’re done. I make a Flickr API call to convert your username into an ID during widget configuration, then the requests from the widget are made by another API call using that ID. Does not require a Flickr API key.
Yeah I know _blank targets totally suck and that it’s very unkind of opening a new browser window (or tab) without users’ permission, but anyways, somebody requested this so here you go.
We got hosted at WordPress.org! Wohooo! Minor changes to the php file and restructured the readme.txt (and I actually renamed it to readme.txt, duh!)
This is the start, so good luck to me and you all too. You may browse the source by the way, it’s not too complicated yet.