Skip to content Skip to sidebar Skip to footer

After Resizing Image Using Javascript, How To Upload Via Php Using $_post

Basically I try to code a webpage where users can upload pictures via iPhone/Andoid and Desktop. These pictures should been saved as thumbnail in ./userupload and the link to this

Solution 1:

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.


Post a Comment for "After Resizing Image Using Javascript, How To Upload Via Php Using $_post"