get Size With Headers
Fetch the width and height of the given image with headers.
Parameters
uri String
the URI of the remote image
headers
headers send with the request
promise
the promise that is fulfilled when operation successfully completed or rejected when there is an error