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

Post-a-pic

描述

Provides the facility to automatically create a post when an image is uploaded to the WordPress media gallery.
The uploaded image can become the post’s featured image and some information about the image (such as EXIF data), or the image itself, can automatically be set in post’s content.
If the image provides its GPS coordinates, a Google map displaying its location can be added as well.
The image’s XMP keywords can be set as the post’s tags and a set of categories can be associated to it too.
The format of the generated post can be selected, if the theme in use supports it.
Useful for photo blog or where there is a large number of image posting in a wordpress driven site.
Originally inspired by Auto Post After Image Upload, https://wordpress.org/plugins/auto-post-after-image-upload/
Some code sketches to handle XMP data have been excerpted from Jean-Sebastien Morisset, http://surniaulula.com/
More credits are reported inside the code.

Project BitBucket URL: http://bitbucket.org/starnutoditopo/post-a-pic/

Get the source code with Mercurial from: ssh://hg@bitbucket.org/starnutoditopo/post-a-pic

安裝

To Install this plugin there is no any complexity. It’s very simple like other plugin. Just follow the procedure described below.

  1. Download the plugin from WordPress Plugin repository. After downloading the zip file extract it.
  2. Upload Post-a-pic plugin directory to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. In WordPress dashboards, select Settings, Post-a-pic to access the plugin options. Select the options you want to enable and click “Save changes”.
  5. Upload an image from ‘Add Media’ menu in WordPress. Then go to ‘All Post’ menu and see after uploading that image there will be a new post related to the image you uploaded.

常見問題

This is useful for creating bulk post?

Yes, it is. The main intention to create this plugin to use where user need bulk image posting and creating post.

評價

2016年9月3日
I had to make one small change to get the post date correct: $exif_general[‘DateTime’]; ->becomes-> $exif_general[‘DateTimeOriginal’]; Other than that, nice work! ~Chris
閱讀全部2個評價

貢獻者及開發者

“Post-a-pic” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Post-a-pic 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Initial release

1.1

  • Bug fixes in case of missing GPS coordinates
  • Showing properties in a table
  • Added capability to display Google map

1.2

  • Bug fixes in case of missing image meta data
  • Removed some irrelevant information
  • Added capability to include XMP keywords as tags
  • Added capability to set categories

1.3

  • Added capability to set post format