Added height and width parameters to image uploads