Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Get Post Image

Descripción

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.

Capturas

  • 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

Instalación

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

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Get Post Image» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Get Post Image» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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.