title: Add constraints in upload image : SonataMediaBundle
body: <p>How can I add constraints to upload an image, for example : max size, error message, there is not thing about that in the config of sonata_media.</p>
  
  <p>thank you very much.</p>