[RDMLX/RPG] Programmatic Image Picker
Posted: Mon May 20, 2019 9:20 pm
Hi all.
Before I log this as an official enhancement, just thought I'd check with you guys.
So, I can add an image control to a LR form and can configure it so that when the user taps on it the image picker fires up so they can select a photo from the device gallery, or take a new picture.
But... is there a javascript method available which would allow me to fire up the image picker screen from a script? For example I'd like to add a button to my main form, when they press that I could execute some javascript to fire up the image picker in exactly the same way as if they had tapped the image.
Anybody done this?
Cheers for now.
Marcus.
Before I log this as an official enhancement, just thought I'd check with you guys.
So, I can add an image control to a LR form and can configure it so that when the user taps on it the image picker fires up so they can select a photo from the device gallery, or take a new picture.
But... is there a javascript method available which would allow me to fire up the image picker screen from a script? For example I'd like to add a button to my main form, when they press that I could execute some javascript to fire up the image picker in exactly the same way as if they had tapped the image.
Anybody done this?
Cheers for now.
Marcus.