upload() now returns an array of objects with properties filename, width, and height