Server-side cropping implementation.