Problem to store image for gallery

I have a problem to store an image on the local directory
« appBackEnd » : it store the image on /var/folders/..
And the path in the database is null.