Template:Crop/doc

From ErfWiki

Revision as of 15:49, 30 November 2011 by GRuban (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Creates a cropped version of an image.

[edit] Usage

{{crop|left|top|right|bottom|image|[sizepx]}}

The sizepx parameter is optional - it is used to resize the image before cropping. If not used, the image is at original size.

[edit] Example

{{crop|50|20|350|200|TBFGK_1-1.jpg}} would display

{{{6}}}

While the full image is

TBFGK 1-1.jpg

{{crop|25|10|175|100|TBFGK_1-1.jpg|350px}} would display

TBFGK 1-1.jpg
Go To:
Personal tools