You are here: User interface > User interface rules > Harness and section forms > Configuring the Attach Content control
Configuring file size options for the Attach content control
To control the size of files that the user attaches to a mobile app, you can configure attachment compression parameters, such as video clip format, video clip duration, maximum image size and maximum image quality. The settings apply when a user records a new video or takes a new photo, but do not apply to pre-recorded media. Media files are compressed on the device, before being uploaded to the server.
- In Designer Studio, open the section rule that has the Attach content control, and click the View Properties icon.
- In the Mobile app attachment compression section, set the following options:
Video clip format and duration- In the Video max size field, select one of the following options :
- Infinite – Uploads the clip in its original resolution.
- 1080p – Converts the clip to the 1080p format (1920 x 1080 pixels).
- 720p – Converts the clip to the 720p format (1280 x 720 pixels).
- 540p – Converts the clip to the 540p format (960 x 540 pixels).
- In the Video max duration field, select one of the following options:
- Infinite – Uploads the clip in its original length.
- 1 minute – Crops the clip to 60 seconds.
- 30 seconds – Crops the clip to 30 seconds.
- 10 seconds – Crops the clip to 10 seconds.
- Click Submit to save the changes to the control.
Image size and quality- In the Image max diameter field, select one of the following options:
- Infinite – Uploads the clip in its original size.
- 2560px – Resizes the image proportionally, so that its longer edge is no longer than 2560 pixels.
- 1920px – Resizes the image proportionally, so that its longer edge is no longer than 1920 pixels.
- 1080px – Resizes the image proportionally, so that its longer edge is no longer than 1080 pixels.
- In the Image max quality field, select one of the following options:
- Lossless – Uploads the clip in its original quality.
- High – Compresses the image using the 90 percent quality level.
- Medium – Compresses the image using the 50 percent quality level.
- Low – Compresses the image using the 20 percent quality level.
- Click Submit to save the changes to the control.
Open topic with navigation