How to check image size before sending using formData?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
31 views
The file is sent so

const formData = new FormData() formData.append('somefile', this.uploadData) formData.append('slug', this.slugProp) this.$axios.post('upload-social', formData)


As before sending to see what file, conventionally 500x500?
by | 31 views

2 Answers

0 like 0 dislike
by
0 like 0 dislike
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Jun 5, 2019 by DrunkMaster
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 10, 2019 by iNickolay
110,608 questions
257,186 answers
0 comments
35,406 users