Image_gallery with Symfony 2