Add support to crop image field.

Issue #1426