Symfony2 Bundle. It creates model with the image metadata