created a resizer for sonata media bundle that keeps your pictures ratio and crops it to fit the specified area