Configuring file size options for the Attach content control
To limit the size of files that the user attaches to a mobile app, for example to conserve bandwidth during synchronization, you can configure attachment compression parameters, such as video clip format, video clip duration, maximum image size, and maximum image quality.
Note:
Attaching large files might fail even if you select options
other than
Infinite
to limit the size of attachments, when
configuring video clip format and duration, or image size and quality. This might occur due
to memory limitations of the device.
- In Dev Studio, open the section rule that has the Attach Content control, and click the View Properties icon.
-
In the
Mobile app attachment compression
section, in the
Video max size
field, select one of the following options:
- To upload the clip to its original resolution, select Infinite.
- To convert the clip to the 1080p format (1920 x 1080 pixels), select 1080p.
- To convert the clip to the 720p format (1280 x 720 pixels), select 720p.
- To convert the clip to the 540p format (960 x 540 pixels), select 540p.
-
In the
Video max duration
field, select one of the following
options:
- To upload the clip to its original length, select Infinite.
- To crop the clip to 60 seconds, select 1 minute.
- To crop the clip to 30 seconds, select 30 seconds.
- To crops the clip to 10 seconds, select 10 seconds.
-
In the
Image max diameter
field, select one of the following
options:
- To upload the clip to its original size, select Infinite.
- To resize the image proportionally so that its longer edge is no longer than 2560 pixels, select 2560px.
- To resize the image proportionally so that its longer edge is no longer than 1920 pixels, select 1920px.
- To resize the image proportionally so that its longer edge is no longer than 1080 pixels, select 1080px.
-
In the
Image max quality
field, select one of the following
options:
- To upload the clip to its original quality, select Lossless.
- To compress the image by using the 90 percent quality level, select High.
- To compress the image by using the 50 percent quality level, select Medium.
- To compress the image by using the 20 percent quality level, select Low.
- Click Submit to save the changes to the control.