We are using quality of 10 in the cordova API and we tool the image with backfacing camera with default camera settings and when we uploaded
the imageData as base64 encoded string, we got the error in the WL Console with Developer Edition.
Ajax request exception: Form too large385593>200000
So is it possible to increase this limit or remove this limit. Is the limit configurable in WL Developer Edition ? Also is this configurable in the WL Enterprise Edition Server.
Eclipse : 3.7.2
This topic has been locked.
Pinned topic Unable to upload the image: Ajax request exception: Form too large
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Mobiletechs 270005P8AM1 Post
Re: Unable to upload the image: Ajax request exception: Form too large2012-12-05T23:13:26ZThis is the accepted answer. This is the accepted answer.I have not yet encountred this as yet...but again U are probably more entrentched in WL internals...
what is the size of the image/file... Jetty seems to limit the maximum form content by default and U may have hit that limit...
SystemAdmin 110000D4XK2327 Posts
Re: Unable to upload the image: Ajax request exception: Form too large2012-12-06T01:00:06ZThis is the accepted answer. This is the accepted answer.It looks like you're running into the default form size limit for Jetty. Here are instructions for changing it - http://wiki.eclipse.org/Jetty/Howto/Configure_Form_Size
Paramasivan.G 270005EUEH33 Posts
Re: Unable to upload the image: Ajax request exception: Form too large2012-12-06T09:37:52ZThis is the accepted answer. This is the accepted answer.Hi Pamu,
Try specifying the targetWidth and targetHeight in cameraOptions of the Phonegap API.
Hope u can solve this issue.