[img_trim/]
resizes the source image by removing pixels from the edges. Values should be positive integers. At least one of the four (4) parameters is required. Setting top="0"
, for instance, is the same as omitting the attribute.
[img_trim output="{format}" top="{int}" left="{int}" bottom="{int}" right="{int}"]<source>[/img_trim]
dimensions
[img_trim output="img" top="60" bottom="60"]atest.gif[/img_trim]
<img src="/wp-content/uploads/image-cache/1d2cf16c/atest_gif/trim_60_0_60_0.gif" width="172" height="123" alt="atest.gif" />
[img_trim output="img" top="30" left="30" bottom="30" right="30"]atest.gif[/img_trim]
<img src="/wp-content/uploads/image-cache/1d2cf16c/atest_gif/trim_30_30_30_30.gif" width="112" height="183" alt="atest.gif" />