Skip to content

Missing width and height in the upload return object #2150

Open
@imverayz

Description

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:

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 });
		});

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions