Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
Apache License 2.0
2.67k
stars
699
forks
source link
How to get width / height of image uploaded with vue-upload-component ? #379
Hello , with Vuejs3("vue": "^3.0.0") and "vue-upload-component": "^3.0.47" app I make upload of image :
The outputted image has properties:
imageFiles::[ { "fileObject": true, "size": 22608, "name": "Tours_soon.jpg", "type": "image/jpeg", "active": false, "error": "", "success": false, "putAction": "/put.method", "postAction": "/post.method", "timeout": 0, "id": "txmseh6ik89", "file": "[object File]", "response": {}, "progress": "0.00", "speed": 0, "data": {}, "headers": {}, "blob": "blob:http://localhost:8080/d887826b-62fa-40ac-b1e7-751fa26b42ee" } ]
How to get width / height of uploaded image ?
Thanks!