This post announces my first Wordpress Plugin: AutoFlickr.
What does it do?
When enabled, AutoFlickr will automatically find and insert one ore more photos that are related to the content of your post. Photos are found and hosted on Flickr.
Features
- Automatically insert one or more photos
- Customizable (photo size, number of photos and type of search).
- Option to select what pages to automatically show photos.
Installation
- Download the latest version here: AutoFlickr 1.0.
- Unzip the downloaded file and put the entire ‘autoflickr’ directory in /wp-content/plugins
- Activate the plugin under Plugins
- Go to Options -> AutoFlickr to customize the settings.
That’s it. Optionally you may want to adapt autoflickr.css to change the way the images are aligned and styled.
If you want to include images in another place than the default, you may disable AutoFlickr for all pages and include the following PHP code in your template. Note that this code must be used within “The Loop”.
<?php echo autoflickr_html(); ?>
Demo
This plugin was developed for CityTrippers.net. You can see the plugin in action when reading a single story.
Support
Please leave a comment or contact me directly if you have any questions regarding this plugin.
New versions?
Please subscribe to my RSS Feed (or use e-mail subscription) to get automatic updates about Ariejan.net and this plugin.

[...] ??AutoFlickr??????????Flickr?????????????????????????????? ???????Options => AutoFlickr?????????????Loop???????"<?php echo autoflickr_html(); ?>"? Tags: flickr, image, photo, post, relate [...]
[...] Source : ariejan [...]
[...] AutoFlickr encontrar
What does the plug-in look at to decide what pics to pull?
It currently uses the title (the_title()) of the post.
Maybe in a next version it’ll support custom fields or tags or whatever people suggest.
Well custom fields or select a tag would be cool – well for me anyway -
My title for each post is a HEADLINE so it seems that since there is more than one word, no picture gets pulled. :(
@Jay: This is probably because your headlines are too long.
When used on CityTrippers a title could be regarded as a “keyword” to search for on flickr.
I’ll add those options soon. Keep an eye out for AutoFlickr 1.1 :)
After I installed this. I was not able to access anything in my plugins menu. It is now a blank screen. Any one have any suggestions? I removed it and I still have the blank screen now.
Ok, I reinstalled Wordpress and I am able to access my Plugin menu again. I will give this another try when the next release comes out. Do you know when this will be?
Also, I was just wondering if using this plugin could be violating any kind of Copyright laws?
@Scott: Very strange! What version of WP are you using? I’ve only tested it with the latest 2.1.2 release. Normally, deleting the plugin files should suffice.
I’m not sure when the next release comes out. Unless you have some more information on the issue, I’m not sure I can fix it.
As for copyright. The code I use comes directly from Flickr. One aspect I may have to change is the clickability of the image to refer to the photo on flickr. Otherwise, including the flickr logo is enough.
good idea … but not flexible :) but the idea is very good.
Ariejan,
I am using Wordpress 2.1.2, I don’t know what the problem was but I just figured I would wait until the next release comes out.
As far as the copyright issue, I read the Terms of Service on Flickr’s site and as long as the picture has a link to the page on Flickr that has the picture you should be okay. Hopefully the next release will have a link. I really like the idea of this plugin but I want to make sure that I am going to be legal. Thanks for you reply and your help.
Thank you. Your
[...] AutoFlickr will automatically find and insert one ore more photos that are related to the content of your post. Photos are found and hosted on Flickr. [...]
[...] digg_topic = ”; Powered by Gregarious (34) Almost a month ago I published my WordPress plugin AutoFlickr, which shows one or more related photos from the popular Flickr site in your [...]
[...] AutoFlickr will automatically find and insert one ore more photos that are related to the content of your post. Photos are found and hosted on Flickr. [...]
Ariejan,
Love the idea of this, but I just can’t get it to work. I’m trying to have it simply pop in a random photo on my home page, so I inserted the code
Unfortunately, all I get is the Flickr logo — no picture.
Any ideas? Thanks!
Whoops — the code didn’t show. What I inserted was
?php echo autoflickr_html(); ?
surrounded, of course, by angle brackets.
Ach, never mind. That’ll teach me to RTFM. I’ve gotta get it into The Loop…
Also, I was just wondering if using this plugin could be violating any kind of Copyright laws?
[...] WP2.1以降、WPのエディターも自動でセーブしてくれるようになったりとても優秀なのでWPのエディターだけで充分なのですが、例えばテーマや使用プラグインとの相性の関係で使いたいけど使えないエディター系プラグインが、WLWで可能な場合とか、複数のブログを持っている場合などはとても便利なので、少しずつWLWのお勧めプラグインのご紹介もしていきたいなと思ってます。 Wordpress Plugin: AutoFlickr 1.0 : Ariejan.netは、投稿記事(のタイトル)に関連するFlickrの写真を自動で挿入してくれるWPのプラグインです。 Demoを見ると、とてもいい感じ。 [...]
Heya,
I found your blog while searching for a tutorial on how to kill onyxia in world of warcraft, strange huh? Anyway, I like your site so it will go in my bookmarks. Take care, greetings from Sweden!
I dont know if you play yourself but if you do check out my site, I have a method that lets you cheat and dupe infinite gold and epics.
Wowdupezone
@L70 Draenei Mage: I seriously have no time to play games :) And cheating is quite lame.
[...] ダウンロード:Wordpress Plugin: AutoFlickr 1.0 : Ariejan.net [...]
[...] AutoFlickr will automatically find and insert one ore more photos that are related to the content of your post. Photos are found and hosted on Flickr. [...]
Ariejan
Ive got AutoFlickr on my wordpress and as of right now, it only displays the flickr link. You mention wait for 1.1 but that was… 2 years ago. any updates? Im starting to think flickr has updated their api since then and thats why images arent displaying. please help.
HI
this plugin wil be fantastic if it works!
But now is out…
can you provide a new version of this amazing plugin for wordpress 2.9?
Thanks if you wanna inform me :-)