Symfony2 library to upload and resize pictures with doctrine annotations