Better way to support multiple images upload