Title: flickpress
Author: isaacwedin
Published: <strong>2009 年 3 月 28 日</strong>
Last modified: 2011 年 12 月 18 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/flickpress.svg)

# flickpress

 由 [isaacwedin](https://profiles.wordpress.org/isaacwedin/) 開發

[下載](https://downloads.wordpress.org/plugin/flickpress.1.9.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/flickpress/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/flickpress/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/flickpress/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/flickpress/#developers)

 [技術支援](https://wordpress.org/support/plugin/flickpress/)

## 外掛說明

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/](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.

## 安裝方式

 1. Extract the plugin archive in your `/wp-content/plugins/` directory, creating a‘
    flickpress’ folder there.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Enter your Flickr API key at Settings:flickpress and configure other options.
 4. If you wish to use the caption function, your theme should include some caption-
    related style stuff – which it probably does – but see the WordPress default theme
    for an example if not.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈flickpress〉的開發相關工作。

參與者

 *   [ isaacwedin ](https://profiles.wordpress.org/isaacwedin/)

[將〈flickpress〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/flickpress)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/flickpress/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/flickpress/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/flickpress/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/flickpress/)。

## 變更記錄

#### 1.9.3

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

#### 1.9.2

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

#### 1.9.1

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

#### 1.9

 * Added some caption customization options.
 * Moved widget into main plugin.
 * Added ThickBox support.
 * Updated phpFlickr library.

#### 1.8.1

 * More conflict insulation in the popup tool.
 * Tag list now starts with popular, with option to list all.

#### 1.8

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

#### 1.7.1

 * Fixed broken widget and template function.

#### 1.7

 * Fix for Flickr API change.
 * Fixed extra Home link for commons search image page.
 * Fixed popup style for WP 3.0.

#### 1.6.1

 * Fixed add user bug, added error handling.

#### 1.6

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

#### 1.5

 * Renamed phpFlickr class and calls to eliminate plugin conflicts.
 * Added favorites.
 * Fixes error when inserting captions with funky characters.

#### 1.4

 * Added options to include photo description and EXIF info in photo captions.

#### 1.3

 * Added caption alignment class option.
 * Updated phpFlickr to 2.3.1.

#### 1.2

 * Tested for WP 2.9.
 * Moved things around on the photo insert page.
 * Turned captions on by default when no option set.

#### 1.1

 * Changed popup.php to use wp-load.php instead of deprecated wp-config.php.

#### 1.0

 * Added widget options to display something (HTML tags) before and after each image.

#### 0.9

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

## 中繼資料

 *  版本 **1.9.3**
 *  最後更新 **14 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.3.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/flickpress/)
 * 標籤:
 * [flickr](https://tw.wordpress.org/plugins/tags/flickr/)[images](https://tw.wordpress.org/plugins/tags/images/)
   [photos](https://tw.wordpress.org/plugins/tags/photos/)
 *  [進階檢視](https://tw.wordpress.org/plugins/flickpress/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/flickpress/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/flickpress/reviews/)

## 參與者

 *   [ isaacwedin ](https://profiles.wordpress.org/isaacwedin/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/flickpress/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://familypress.net/flickpress/)