Open imverayz opened 2 years ago
Hi! We are using this ng-file-upload module to upload image files. I think we are expecting image width and height data in the data object returned, but are not seeing them. Any insight would be appreciated!
ng-file-upload
Here is the relevant code:
const uploader = Upload.upload({ url: `${imageServerURL}/upload/${uuid ? uuid : ''}`, withCredentials: false, headers: { session }, data: { metadata: metadata ? JSON.stringify(metadata) : undefined, file, } }).success((data, status, headers, config) => { resolve({ data, status, headers, config }); }).error((data, status, headers, config) => { reject({ data, status, headers, config }); });
Hi! We are using this
ng-file-upload
module to upload image files. I think we are expecting image width and height data in the data object returned, but are not seeing them. Any insight would be appreciated!Here is the relevant code: