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.
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>after or just a
- 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.
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.
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.
- Added various things to the popup tool.
- Added username lookup option to widget.
- Fixed editor buttons – HTML button is now only WP 3.3+ compatible.
- Removed mysterious “border=0” from widget display function.
- Updated phpFlickr to 3.1, fixed various issues.
- Check for email address before trying to get images in widget/shortcode function.
- Got rid of some WP 2.9 specific code.
- Better settings validation.
- Fixed some license stuff.
- Made the user manager suck a little less.
- Fixed activation issue with deprecated upgrade-functions.php.
- Added fsockopen test to reduce timeout duration when Flickr or network down.
- Only load plugin options when needed.
- Added option to import image into Media Library.
- Added generic lightbox support.
- Added title-only option for captions.
- Fixed before/between/after text to allow HTML tags.
- Various bug fixes to pass WP_DEBUG.
- Added license default setting.
- Added some caption customization options.
- Moved widget into main plugin.
- Added ThickBox support.
- Updated phpFlickr library.
- More conflict insulation in the popup tool.
- Tag list now starts with popular, with option to list all.
- Added deactivation function to delete cache table.
- Fixed popup menu bug.
- Using WP paginate_links function for popup navigation.
- Renamed more stuff to avoid conflicts.
- Fixed broken widget and template function.
- Fix for Flickr API change.
- Fixed extra Home link for commons search image page.
- Fixed popup style for WP 3.0.
- Fixed add user bug, added error handling.
- Added some error handling.
- Made navigation headings more consistent.
- Fixed warning for empty EXIF data, added reporting for empty EXIF and description.
- Added interesting photo browsing.
- Added older/newer links.
- Markup cleanup, should now pass validation.
- Renamed phpFlickr class and calls to eliminate plugin conflicts.
- Added favorites.
- Fixes error when inserting captions with funky characters.
- Added options to include photo description and EXIF info in photo captions.
- Added caption alignment class option.
- Updated phpFlickr to 2.3.1.
- Tested for WP 2.9.
- Moved things around on the photo insert page.
- Turned captions on by default when no option set.
- Changed popup.php to use wp-load.php instead of deprecated wp-config.php.
- Added widget options to display something (HTML tags) before and after each image.
- Added admin notice for missing Flickr API key.
- Set “edit_posts” as the default capability to use plugin.
- Added Flickr API key and capability checks to the settings page.
- Added option to turn captions on or off by default.
- Added jquery show/hide for license lists in the popup.
- Fixed “next page” bug for commons search.