Regarding glowUpload validation and image url

Current scenario: We will add glowUpload on a particular element using id and we can pass extension based filter along with width. In return we are getting nothing.

Expected: Before uploading image along with extension filter and width, height option should also be there so that we can restrict for particular image resolution. Also, after image upload, the glowUpload should return the url.