With AskiaFace for tablets, you have the ability to take pictures in your interviews. In this article, we will explain how to display the picture in your interview. Please note that will work only with Amazon S3 storage type.
How it works
Create your media-capture question
For amazon S3 (see this article: https://support.askia.com/hc/en-us/articles/211425449-Save-photos-to-Amazon-S3)
Add a routing to set value
From your media-capture question to another hidden open ended question:
The routing to use is the following:
dim full = photo.value
dim short = full.split(" ")
This routing is needed in order to remove unnecessary characters into the media-capture path.
lurl:Path = "/var/mobile/Containers/Data/Application/F2F6C1B1-B155-4AED-9665-839CEC0A0AE6/Documents/demo/258/media2_4E9D88E1-9177-4F45-AC9B-150AB911533D.jpg" Pos = "2" Pwd = "[Amazon S3 password]" Type = "1" User = "[Amazon S3 Login]"
Then you can . . .
Use the shortcut
Use the shortcut of this short link question on any screen in order to display the picture taken earlier:
Known limitation: on iOS, there is no refresh of the picture displayed, if you go back and take another picture.