We have an app that utilises the camera. We have it previewing the image on the form and it holds the base64 data in a hidden variable and this gets uploaded to our server on submission of the form.
"function _onPhotoDataSuccessReceipt called"
smallImage = document.getElementById(
// Show the captured photo.
// manually clear the receipt error msg if present as validator not doing it
We have been testing using an iPhone 4s and a HTC One.
The iPhone photo sizes are averaging about 5Mb and the HTC about 200k.
Can you recommend any ways that we can compress the jpgs if taken by iPhone or cameras with high resolution by detection or otherwise?