WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

flickpress

flickpress is a tool to find Flickr photos and insert them into your posts, plus a widget to display recent Flickr photos.

Widget

The widget just packages the template function in convenient widget form. To use it, activate it through the 'Plugins' menu in WordPress and add it to your sidebar through the 'Widgets' menu. It requires some things in the main plugin, so you'll need to have both activated.

Just like with the template function, you may specify a class for the images, and text (such as HTML tags) to display before and after each image. Some tips:

  • For a horizontal display, put nothing or just spaces before and after.
  • For a vertical display, either use <p> before and </p> after or just a <br /> after.
  • Many themes include a class called "aligncenter" that should center your images in the sidebar.

There are a couple of different ways to enable lightbox support for images inserted with flickpress.

The easiest way is to just turn on ThickBox in the settings. This will add the necessary bits to your inserted images and add the necessary JavaScript to your theme for a simple lightbox.

Another fairly easy method is to turn on the Custom lightbox option in the settings and install a lightbox plugin that automatically recognizes lightboxable image links. The Lightbox Plus plugin has worked for me with this method, and has lots of customization options.

Finally, you could set it up completely manually: turn on the Custom lightbox option in the settings, enter a class or rel, then add your own lightbox JavaScript to your theme.

Template Function

There is a simple template function available for use in your sidebar or other spots you'd like to include a few recent flickr photos. The function, its options, and the defaults are:

if (function_exists('flickpress_photos')) flickpress_photos($email,$numphotos=3,$before='',$after='<br />',$fpclass='centered');

Notes

This plugin is really just a wrapper for Dan Coulter's excellent phpFlickr library ( http://phpflickr.com/ ). Using more than one plugin based on the library can cause conflicts, so I renamed the class in the library included with flickpress. I also edited (maybe broke!) the database cache code, so if you're considering creating a plugin based on flickpress I highly recommend getting the latest official version of phpFlickr instead of using this modified version.

Requires: 3.3 or higher
Compatible up to: 3.3.2
Last Updated: 2011-12-18
Downloads: 10,821

Ratings

4 stars
4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,2,2 100,1,1
100,1,1
33,3,1
0,1,0
0,1,0
0,1,0