Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Thanks for an awesome module!
I'd really like targetWidth and targetHeight supported for camera.
Example snippet from my wanted settings.js:
drupalgap.settings.camera = {
targetWidth: 900,
targetHeight: 900,
quality: 50
}
Comments
Comment #2
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedYes this would be very nice indeed. This could happen around here:
https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/modules/image/...
If someone can change the setting of the
photo_options
value to use something likeJSON.stringify($.extend({}, {}, drupalgap.settings.camera))
, and then re-assign thedestinationType
value in src/modules/image/image.js, that would do the trick.This only can be tested on compiled devices.