Use the Image view control to display an image from the internet in your form.
If you want to view images captured in another form follow these steps:
- Turn the form containing the Image field into a Lookup table.
- In a new form, add a Data lookup control with the lookup table as the Data source.
- Set up a Destination field in the Data lookup with the Image field as the Table field (source) and a Text control as the Field (destination). This will fill the text field with the URL of the image.
- Add an Image viewer control and set the Image URL to the text control that contains the URL of the image.
Properties
Image URL: Select a Text or Calculation (text) field that contains the web URL of the image to view.
Fit image to screen: If the image is smaller than the screen width, expand the image to fill the screen width.
Note: Only the URL of the image is saved when the form is submitted, not the image itself. If the image at the URL is changed after the form is submitted, the new image will be used for in the PDF report.
Hint: When using Dropbox, change the dl parameter from 0 to 1. For example:
https://www.dropbox.com/s/o351gamq/MyFile.jpg?dl=1
Hint: When using Google Drive, use the ID of the file to build a URL. For example, if this is the URL you see in Google Drive:
https://drive.google.com/file/d/1h1d8lihVW40DEK/view
then use this URL:
https://drive.google.com/uc?id=1h1d8lihVW40DEK&export=download