add multiple images upload & change definition from json to php array