php - Javascript compress images
某草草
某草草 2017-05-27 17:42:40
0
3
569

Use input to select multiple images on the page , compress them first, then save them to the input of the selected image, and then submit to the background with other text information through the form method. The background receives through php code. How should this be implemented? I hope someone can give me some advice! ! ! Urgent! Urgent! ! !

某草草
某草草

reply all(3)
大家讲道理

https://qiutc.me/post/uploadi...

刘奇

For compression, first read the image content and draw it into the canvas, then convert the canvas into a blob, and then pass it to the backend through formdata

刘奇

I recommend you take a look at this, it’s very good and can be used on mobile phones without any problems.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template