uploader modified to support custom sizes