RezImgCrop
rezimgcrop
About
The outlet filter for images.
This Outlet filter - the filter for images, you can reduce images, cut off or reduce and off.
Often at adding of articles or news on a site, images turn out different, in design accurate images very well look.
This filter does not break a proportion of the image and creates a folder in a directory "rezcrop" and saves images with a unique name, so that the system at repeated reversal could give already processed result even if to clear a storage cache.
Attentions! At creation TV, parameter output Type: the Text
Installation & usage
Attentions! At creation TV, parameter output Type: the Text
Call example:
[[*tv.images:rezimgcrop = ` r-150x, c-150x75 `]] - article preview 150x75px,
[[*tv.images:rezimgcrop = ` r-250x0 `]] - the picture is located in article with the maximum size on width 250px.
r - does decreases of the image,
c - does cropping of the image,
g - Color image conversion in a shade of gray,
WxH - w = width, H = height (in pixels)
In an example above, we about the beginning made image decreases on width 150px, then cut off images 150x75px.
Usage variants;
[[*tv.images:rezimgcrop = `r-150x,c-150x75`]] // resize on width and cropping
[[*tv.images:rezimgcrop = `r-150x,c-150x75,g-`]] //We do resize images, then cropping and a shade of gray
[[*tv.images:rezimgcrop = `min-150`]] //resize min 150px
[[*tv.images:rezimgcrop = `min-150,c-150x150`]] //resize min 150px, then cropping
[[*tv.images:rezimgcrop = `r-150x`]] //resize on width
[[*tv.images:rezimgcrop = `r-150x0`]] //resize on width
[[*tv.images:rezimgcrop = `r-0x75`]] //resize on height
[[*tv.images:rezimgcrop = `r-x75`]] //resize on height
[[*tv.images:rezimgcrop = `r-150x75`]] - if we specify two parameters of reduction of the image the image to decrease not proportionally, it is necessary to specify better width, then to apply crop.
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer valikras
- Latest release June 9, 2011 (15 years ago)
- First seen in SiteDash June 9, 2011 (15 years ago)
- License GPLv2
- MODX support 2.2 – 2.3
- Databases MySQL
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0-beta4 |
June 9, 2011
15 years ago |
|
|
<p>Changelog for RezImgCrop</p><p>RezImgCrop 1.0.4</p><p>============================</p><p> - There is no necessity to specify naturally or the relative way of the image.</p><p> - The image conversion function in a shade of gray is added, simply add "g-"</p>
|
|||
|
No matching releases. |
|||