We're working on a mobile application using phonegap. The application is designed to upload photos from the smartphone/tablet to a Piwigo gallery. Piwigo is a popular open source web application to create photo galleries. The application "Piwigo for iOS/Android" is nearly complete, we just need the ability to downsize photos before upload. Unfortunately, targetWidth and targetHeight parameters on camera.getPicture method are designed to crop the photo, which is what we're seeking. Would it be possible to add maxWidth/maxHeight parameters and resize algorithm ?