Decode base64 jpeg image dataURL and save as JPEG using blueimp jQuery File Upload Plugin PHP Class 8.2.3 UploadHandler -
i'm having problem editing blueimp jquery file upload plugin php class 8.2.3 uploadhndler file. want decode base64 jpeg image dataurl string , save jpeg image file in ../files folder.
with non-base64 encoded images, jquery fileupload php uploadhandler works , saves images filetype: "jpeg picture". when send uploadhandler base64 encoded dataurl, saves filetype: "file", contents: "file=data%3aimage%2fjpeg%3bbase64%2c%2f9j%2f4aaqskzjrgabaqaaaqabaad...".
i know need utilize base64_decode() on file somewhere in uploadhandler. problem uploadhandler 1300 lines , i'm not sure utilize base64_decode().
i've looked @ related questions: jquery file upload database in base64 , save base64 encoded image file in php , helpful. need apply info blueimp php uploadhandler.
php jquery image jquery-file-upload blueimp
No comments:
Post a Comment