Plugin Directory

IMAGE EXTRACTOR

Syntax

The syntax is:

imageextractor($resize=false, $resizetype=1, $width='', $height='', $class='', $id='', $prefix='', $suffix='')

where:

1) resize: indicate if the plugin has to resize the image and store it in the cache folder 2) resize_type: there are 3 type of resizing: a) 0 -> image will be resized to the new output size, regardless of the original aspectratio. (default) b) 1 -> image will be cropped if necessary to preserve the aspectratio and avoid image distortions. c)2 -> image will be resized preserving its original aspectratio. differences to the new outputsize will be filled with white

3) width: the destination width. If resize is false, this property only add/change the WIDTH attribute of the IMG tag 4) height: the destination height. If resize is false, this property only add/change the HEIGHT attribute of the IMG tag 5) class: add or change the CLASS attribute of the IMG tag 6) id: add or change the ID attribute of the IMG tag 7) prefix: add a prefix to the resulting IMG tag 8) suffix: append a suffix to the resulting IMG tag

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(7 ratings)