Problem with upload big images front end / jQuery File Upload
-
So I’m using CMB2 on front end so people can create posts. They can also upload pic as featured image. For the front end form I use the code on github (https://github.com/WebDevStudios/CMB2-Snippet-Library/blob/master/front-end/cmb2-front-end-submit.php). It’s about 90% based on that.
Now when user tries to upload picture on phone, it usually gives some error. I believe this is because the image is really big (several mb atleast). Any suggestions how could make this better? I think some changes on server side (I know not necessarily nothing do it with cmb2). Also the problem is that when they get error, all input data is lost from the form.
One thing I was thinking of implementing jQuery File upload js-plugin. With that it supposed to be possible to resizie image on client end before submitting the form. But this might be too hard for me, as I’m more of front end guy and the php stuff looks complex.
- The topic ‘Problem with upload big images front end / jQuery File Upload’ is closed to new replies.