sonata-project/SonataMediaBundle — Issue #82: width option is too strict
Author: pluff
Created: 2012-01-02 22:03:15+00:00
State: open

Why does default image provider forces width attribute for thumbnails? It uses "inset" behavior for resizing, but forces width to value from config. In result image is stretched. E.g. I have image with size 100x500 and configuration sizes "50x50", in result I will have 10x50 image on HDD stretched to 50x250 in browser. Also this provider doesn't do the same with "height" option.
So, could you remove it?

Sonata\MediaBundle\Provider\ImageProvider::getHelperProperties