Wordpress Plugin: AutoFlickr 1.0

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

  1. Download the latest version here: AutoFlickr 1.0.
  2. Unzip the downloaded file and put the entire ‘autoflickr’ directory in /wp-content/plugins
  3. Activate the plugin under Plugins
  4. 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.

  • Twitter
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Technorati
  • E-mail this story to a friend!

27 Comments so far

  1. [...] ??AutoFlickr??????????Flickr?????????????????????????????? ???????Options => AutoFlickr?????????????Loop???????"<?php echo autoflickr_html(); ?>"? Tags: flickr, image, photo, post, relate [...]

  2. [...] Source : ariejan [...]

  3. WeblogToolsCollection Espa on March 7th, 2007

    [...] AutoFlickr encontrar

  4. Jason on March 7th, 2007

    What does the plug-in look at to decide what pics to pull?

  5. Ariejan on March 7th, 2007

    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.

  6. Jay on March 8th, 2007

    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. :(

  7. Ariejan on March 9th, 2007

    @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 :)

  8. Scott Howard on March 9th, 2007

    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.

  9. Scott Howard on March 9th, 2007

    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?

  10. Scott Howard on March 9th, 2007

    Also, I was just wondering if using this plugin could be violating any kind of Copyright laws?

  11. Ariejan on March 9th, 2007

    @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.

  12. Rod on March 10th, 2007

    good idea … but not flexible :) but the idea is very good.

  13. Scott Howard on March 10th, 2007

    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.

  14. Solltex on March 22nd, 2007

    Thank you. Your

  15. [...] 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. [...]

  16. [...] 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 [...]

  17. [...] 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. [...]

  18. Andrew on April 12th, 2007

    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!

  19. Andrew on April 12th, 2007

    Whoops — the code didn’t show. What I inserted was

    ?php echo autoflickr_html(); ?

    surrounded, of course, by angle brackets.

  20. Andrew on April 12th, 2007

    Ach, never mind. That’ll teach me to RTFM. I’ve gotta get it into The Loop…

  21. ?? on April 17th, 2007

    Also, I was just wondering if using this plugin could be violating any kind of Copyright laws?

  22. WLW is kind in WP | Rif.2nd on June 21st, 2007

    [...] WP2.1以降、WPのエディターも自動でセーブしてくれるようになったりとても優秀なのでWPのエディターだけで充分なのですが、例えばテーマや使用プラグインとの相性の関係で使いたいけど使えないエディター系プラグインが、WLWで可能な場合とか、複数のブログを持っている場合などはとても便利なので、少しずつWLWのお勧めプラグインのご紹介もしていきたいなと思ってます。 Wordpress Plugin: AutoFlickr 1.0 : Ariejan.netは、投稿記事(のタイトル)に関連するFlickrの写真を自動で挿入してくれるWPのプラグインです。 Demoを見ると、とてもいい感じ。 [...]

  23. L70 Draenei Mage on June 21st, 2007

    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

  24. Ariejan on June 21st, 2007

    @L70 Draenei Mage: I seriously have no time to play games :) And cheating is quite lame.

  25. [...] ダウンロード:Wordpress Plugin: AutoFlickr 1.0 : Ariejan.net [...]

  26. [...] 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. [...]

  27. liveimagephoto on February 3rd, 2009

    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.

Leave a Reply