Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/fieldtypes/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ Resize the image and then crop it.
| crop:x | `Number` | `0`| Horizontal crop offset, px |
| crop:y | `Number` | `0`| Vertical crop offset, px |

The output of this tag might differ from "Crop" pre-defined image manipulation as set in Upload Directory settings. To achieve exact same behaviour you need to set `width` and `height` parameters to the same values for both resize and crop.

### Using as modifier tags pairs

{news_image:resize width="100" height="100"}
Expand Down