该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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