Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Get Post Image

Descrizione

Get Post Image can easily resize, adjust, flip, and make a lot of operations in the uploaded images right into the code. Site visitors can’t actually make HTTP requests to generate the images because phpThumb was adjusted to allow only WordPress to do it. The image will be saved in the same directory of the converted image and will never be processed again.

Usage

For example, to display a post thumbnail in a 200×100 format, you can simply do:

get_post_image('w=200&h=100');

Or as a shortcode in the post content:

[get-post-image phpthumb="w=200&h=100"]

If the picture is a little bit dark, you can increase brightness in 20% with:

get_post_image('w=200&zc=1&fltr[]=brit|20');

And the shortcode:

[get-post-image phpthumb="w=200&zc=1&fltr[]=brit|20"]

There’s many more options. Please visit the plugin page for configuration, usage, examples and other information.

Screenshot

  • This is the original image.
  • Resizing to 300x300px: get_post_image ('w=300&h=300');
  • Adjusting brightness: get_post_image ('w=200&zc=1&fltr[]=brit|20');
  • Flip vertically: get_post_image ('w=200&zc=1&fltr[]=flip|y');
  • Text: get_post_image ('w=200&zc=1&fltr[]=wmt|I\\''m a Camel! ©|16|C|FFFFFF|/path/to/liberation-sans.ttf|100|10|0|000000|80|x');
  • Watermak image: get_post_image ('w=200&zc=1&fltr[]=wmi|/path/to/camel-logo.png|T|50|5|5|320');
  • Applying mask: get_post_image ('w=200&zc=1&fltr[]=mask|/path/to/camel-abstract.png&f=png');
  • Mask applyed

Installazione

  1. Download and activate the Get Post Image Plugin.
  2. Change the default password in the get-post-image-config.php file.

Recensioni

Non ci sono recensioni per questo plugin.

Contributi e sviluppo

“Get Post Image” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “Get Post Image” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

0.08

  • Allow any location in filesystem for the image to be converted

0.07

  • Adjusting rules to get the proper post_id

0.06

  • Adjusting rules to get the proper image_id

0.05

  • Removing get_the_image dependency
  • Converting images on the server side
  • Adding the security password
  • Improving the calling method

0.04

  • phpThumb update to fix security issues;
  • Displaying nice error messages instead of breaking execution.

0.03

  • Minor changes to make it work properly on Windows servers.

0.02

  • Changed the way of calling the plugin, now it’s done via an array of options. See the documentation for more info;
  • Now it works with multisite. There’s no absolute way of make it work. Some servers and websites will need a different parse to get the images path;
  • There’s a verification to check if “get-the-image” is also installed.

0.01

  • Plugin released. Don’t expect multisite to work.