added value saving in database + image saving of preview + image display in gallery