Upload images all at once is not working