更新时间:2023-01-15 12:27:03
Well, since you have a base64 encoded image in src
attribute of your resized <img>
, you could put that value into a hidden input and upload the bas64 string (instead of real image). Then you can decode the image in your PHP script and save it the way you need.