Implement thumbnail cropping.
Update example templates.