incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-54) Feature request: ability to downsize pictures with camera.getPicture (no crop)
Date Thu, 19 Apr 2012 23:02:41 GMT


Shazron Abdullah commented on CB-54:

An update: I had to remove the JavaScript option cropToSize - the team doesn't want to add
more iOS specific functions. What I did however was to make cropToSize = NO the default in
the Objective-C code, which is the default in the other platform implementations.
> Feature request: ability to downsize pictures with camera.getPicture (no crop)
> ------------------------------------------------------------------------------
>                 Key: CB-54
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 1.7.0
> reported at:
> by:
> Hi,
> 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 ?
> Thanks.
> P@t
> Piwigo Team.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message