How is an image encoded / decoded by means of sonata media?

1

Good morning,

I am using symfony2 with sonata, I have a form from which I get an image through an "image" field of type 'sonata_media_type', so in my controller I get this image, my question is how is the image encoded (the image that returns the form) to save it in the database? (this as a measure of protection of the image). Or do not know if it can be coded by a property in the same form ?. Thank you in advance for your help

    
asked by devjav 02.07.2016 в 00:55
source

0 answers