Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Run time Image resizing

Descrição

What if one would want to resize image at Run time?
“Run time Image resizing” is answer of this Question. This plugin is useful to Developer as well as Non-Developer users.
Developers can use this plugin by using Shortcode. In shortcode one has to pass attachment url or attachment id with width and height for which
he/she want to resize at run time. All parameter options in shortcode are optional except image url or image id with new height and width.
If one want image in return value then he/she must pass paramater “return=’image'” in Shortcode otherwise it will return image URL.
When you use this shortcode in wordpress editor then you should use “return” attribute with “Image” value.
Non-Dveloper user can use backend tool for resizing.

Features

  1. “Run time Image resizing” provide facility of resizing images at run time with user defined height and width.
  2. This plugin also provide backend configuration for resizing image. One can resize the image and also get resized image at same place.
  3. One can download the resized image by Right click on image

Ecrãs

  • screenshot-1.png

  • screenshot-2.png

  • screenshot-3.png

Instalação

  1. Upload “Run time Image resizing” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Place “do_shortcode(‘[resize_img width=”new-width” height=”new-height” imgurl=”Url of Attachment” attach_id=”Id of Attachment” picquality=”jpeg pic quality”]’ );”
    in your templates. It will return you resized image url.

Perguntas frequentes

How many parameters are supported by this plugin and what would be the value for each parameter?

There are total 6 parameters supported by this plugin. Explanation of each parameter are as below.

  • Image URL – Pass Image url which you want to resize.
  • Attach id – Pass the id of the image, image which you want to resize.
  • Width – Width of new resized image.
  • Height – Height of new resized image.
  • PictureQuality – Pass the integer value out of 100, which set the Quality of image after resize it.
  • Return – Pass the value (“Image”) if you want to receive resized image instead of URL at frontend. By default it will give resized image URL.
In which format should I pass parameter with shortcode?
  • imgurl = URL of the image (String).
  • attach_id = ID of the image attachment (String).
  • picquality = Qaulity value (Integer).
  • width = (Integer).
  • height = (Integer).
  • return = (String).
Is it always necessary to pass both parameters URL as well as ID of the image?

No, one should pass only one parameter from both of them in shortcode.

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“Run time Image resizing” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “Run time Image resizing” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

1.0

  • Initial release.