This article explains the Camera, Images & Files block that can be added to design an app.
Click on the block and start editing on the panel that appears on the right side.
This is what appears as the label for the field that suggests the user upload a file or capture an image.
This is the text that goes below the attached file to help the user.
By default, all kinds of files are allowed to be uploaded. If you want a limited type of file, you should click on the file types that you want to allow.
Tick this option if you want to force the end-users to capture images from their phone camera or web camera and not upload old photos from their galleries. For this option to work, please ensure that in the File Types option above, only Images (Camera Uploads) is selected.
Enable this option if you want the end-user to compulsorily upload a file or capture an image.
Advanced Options
Use this option to show the advanced options to configure the camera block.
When enabled, captured images will be automatically saved to the user’s device gallery.
When this option is enabled, users can annotate photos before uploading them. They can draw annotations, markers, or custom text directly on the captured image. This enhances the functionality by allowing users to highlight specific parts of the image or add contextual information before the photo is uploaded.
Enable this option for your users to limit the number of uploads at a single time. The maximum files a user can upload is 10.
Select the type of image quality you would like your end users to upload. Low quality images have lower file sizes which might make it easier for users who have low connectivity to the internet to upload.
This option can be used to automatically put watermark text on all the image uploads. Useful for geolocation-tagging, timestamp-tagging of uploaded photos. Any other text like Customer Name, Site Name etc can also be put on the photos.
This field works exactly like any other field that supports formulae. Just type @ to see a list of all the fields defined in the app that can be put on the images.
Examples
Put Geolocation, date of visit and site name on the photos: Ensure that these fields are defined in the app.
This option allows admins to upload a logo that will be overlaid on images captured or uploaded through this block. The logo file can be uploaded by dragging and dropping it into the designated area.
Once a logo is uploaded, an additional setting called Logo Position appears.
Admins can choose which corner the logo will be placed on uploaded images: Top Left, Top Right, Bottom Left, Bottom Right.
Allow uploaded files to have dynamic names. For the images uploaded via Camera, Admins can choose a custom dynamic prefix. The prefix can take values from other fields in the App. This will help the Admins to segregate the files based on the prefix values.
Even in this field, you can type ‘@’ to get a list of all the variables in the app and select variables.
Note: Ensure that if values are to be taken from another field, that field would need to be filled in first and then take the image from the device's camera.
Display this field if
Use this if you want to show or hide a field under certain conditions. It accepts the standard Clappia Formulae, similar to conditional sections.
This option appears once a condition is set in the Display this field if option. Enable this setting if you want the field's value to be retained even when the field is hidden. This is useful for preserving user input in cases where the field may temporarily disappear based on conditions.
Example: If the field is hidden based on user selection but you still need to keep the entered value for future reference or calculations, enable this option to ensure the data is retained.
This option is enabled by default. End users can edit the value entered in this field after creating a submission. Disable it if you do not want the end users to edit the submitted value.
When a user uploads an image or video using the Camera, Images & Files block, Clappia generates a Public URL for the uploaded file. This URL allows the file to be accessed directly through a web browser.
To store and view the public URL of uploaded files within your app:
In your Clappia app (this can be any app), add either a Single Line Text or Multi-line Text block. This block will be used to store the public URL of the uploaded file.
Go to the Workflows tab of the app containing the ‘Camera, Image & Files’ block.
Add an Edit Submission workflow node.
In the configuration panel of the node:
Insert the Public URL Variable
Now, every time a submission is made, the public URL of the uploaded file will be stored in the selected text block.
Keep URLs Public Forever Option
Once the public URL variable is added in the Edit Submission workflow node, an additional option appears called ‘Keep URLs Public Forever’.
Enabling this option ensures that the public URL remains accessible indefinitely.
10 images/files can be uploaded per block.
Of course! You can add custom text to the photos uploaded by users through the 'Image Text' feature on the File Upload Block. You can use other variables like Customer Name, Date, GPS Location etc and put them on the uploaded images.
Learn how to use this feature in the Clappia Help Guide article on <a target='_blank' href='https://www.clappia.com/help/blocks-file#image-text'>Adding Custom Text to Uploaded Photos</a>.
Yes, it is possible to modify image entries after submission on mobile, provided the user has edit permissions. Additionally, the app admin needs to enable the Allow changing files after initial submission option under the Advanced Options of the Camera, Images & Files block configuration. With this setting enabled, users can add, replace, or delete images in their submissions on mobile even after the submission has been completed.
If the gallery photo option is unavailable, it may be due to the Allowed File Types setting in the Camera, Images & Files block. To enable gallery uploads, go to the Design App tab, select the Camera, Images & Files block, and check the right panel for Allowed File Types. Ensure that Images (gallery uploads) is selected. This will allow users to upload photos directly from their device’s gallery.
You can upload a maximum of 10 files per block but up to 8000 blocks are per app. Hence, you can upload a maximum of 80000 files per submission. This is more than sufficient for most users.
Yes, you can enforce restrictions on the file types and set it to 'Images (Camera Uploads)' only. This will ensure that the users always upload the latest photos.
Yes, Clappia’s Camera, Images & Files block allows users to upload voice clips. In the block’s Advanced Options, under Allowed File Types, select Documents. This enables users to upload audio files, such as recorded voice clips, along with other file types. This flexibility allows for submitting voice data in addition to images and documents.
Yes, Clappia’s Camera, Images & Files block supports adding annotations or markups on images directly within the app. When configuring this block, go to Advanced Options and enable the Allow to edit captured image option. With this setting enabled, users can take a photo on their mobile device, annotate or draw on the image, and then click OK to upload it to the app. Note that the editing tools available will vary based on the device’s settings and capabilities, so the options may look different depending on the phone model and operating system.
L374, 1st Floor, 5th Main Rd, Sector 6, HSR Layout, Bengaluru, Karnataka 560102, India
+91 96418 61031
3500 S DuPont Hwy, Dover,
Kent 19901, Delaware, USA
+1 (341) 209-1116
3500 S DuPont Hwy, Dover,
Kent 19901, Delaware, USA
+1 (341) 209-1116
L374, 1st Floor, 5th Main Rd, Sector 6, HSR Layout, Bengaluru, Karnataka 560102, India
+91 96418 61031