Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Post-a-pic

Description

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

Installation

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.

FAQ

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.

Avis

3 septembre 2016
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
Lire les 2 avis

Contributeurs/contributrices & développeurs/développeuses

« Post-a-pic » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Post-a-pic » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

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