Select to view content in your preferred language

Automatically compress photos and attachments when submitted to Survey123?

1216
5
05-26-2023 10:19 AM
MeganMuellerRMW
Emerging Contributor

I have a survey that is used by community scientists, who need to upload photos, PDFs and excel files as part of the survey.  The photos and attachments are frequently larger than 10MB.  It's my understanding that ArcGIS online limits the size of attachments to feature layers to 10 MB, which limits the size of attachments that my volunteers can upload to my Survey123 form to 10MB.  

At the moment, we are asking volunteers to compress their files prior to uploading them, but this is a barrier for community scientists, some of whom are not particularly tech savvy.  I created the Survey in Survey123 Connect.  Is there a way to set up the XLS form so that photo and file attachments would automatically be compressed when they are submitted, so that volunteers don't have to compress photos and files using a separate program prior to submitting them?

0 Kudos
5 Replies
JoshuaSharp-Heward
Frequent Contributor

Hi Megan,

In Survey123 Connect in the options settings you have the ability to limit the pixels of a captured photo like so

JoshuaSharpHeward_0-1685139793647.png

Although I'm not sure whether this only works for photos being captured within the form itself or if it also compresses images that are being attached but have been captured separately (i.e. in the camera app).

 

0 Kudos
DougBrowning
MVP Esteemed Contributor

You can control this in the form now giving a size.

Like this in the paraeters column  max-pixels=4920

DougBrowning_0-1685982592351.png

 

Marisa_Kordecki
Occasional Contributor

Did you find a method to do this?

I have a public survey that people upload multiple pictures per submission and it takes up a lot of space. I want them to be able to submit any size but it automatically compress to a smaller size when submitted. 

0 Kudos
DougBrowning
MVP Esteemed Contributor

My post above will do that.

Marisa_Kordecki
Occasional Contributor

Okay thanks! I was worried it just gave the error message

0 Kudos