Flickpress Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
flickpress adds a button to the post editor to find and insert Flickr photos into WordPress posts. Add Flickr users by entering their usernames or email addresses. Previously-entered Flickr users are stored in a database table that can be managed at Tools:flickpress. Search for users’ photos by keyword or browse tags, photosets, favorites, or recent photos. You can also search for Creative Commons, Flickr Commons, and government photos. Click through to a photo to insert a variety of sizes, adding a variety of caption information if desired.
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.
Lightbox Support
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');<h3>Notes</h3>
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.
Screenshots
No screenshots provided