sonata-project/SonataMediaBundle — pull request #106 by javiacei (2012-03-08 12:12:14+00:00)
Title: Custom format extension

When you create a new format, it's possible to put a "format" field.

I use this field to thumbnail extension. Thereby I can use this extension ('png', 'gif', ...) to create the corresponding thumbnail (before always "jpeg").

formats:
`'big': {width: 100, height: 200, format: 'png'}`

I have modified ImageProvideTest to show you that everything is working properly.

Also I'm working to separate template logic and provider. This way allow us to select different templates without create a new provider only to change the template.