Story Map Crowdsource photos quality

3217
5
07-05-2016 08:55 AM
Maria_do_CarmoBueno1
New Contributor

Is it possible to configure the quality of the pictures/photos users upload on Story Map Crowdsource?

0 Kudos
5 Replies
OwenGeo
Esri Notable Contributor

Hi Maria,

Currently contributed photos are resampled to be 1000px on their shorter side. Are you looking for higher quality photos to be available or are you concerned about low-quality photos being uploaded and seen in your stories?

I was talking with someone last week at the Esri User Conference in San Diego who had some participants upload low-quality photos. In a future release we will consider adding a warning or even blocking participants when they try to upload a low-quality photo.

If you could share some additional information about your situation that would be helpful to us as we plan future releases. Thanks!

Owen

Owen Evans
Lead Product Engineer | StoryMaps
Maria_do_CarmoBueno1
New Contributor

Thanks for the quick answer.

Actually I was wondering if I can have higher quality photos, despite the

volume to store them.

It is because we want to make a campaign to collect photos around the

country (Brazil, in the case).

The purpose is to use the photos later in web pages but also in printed

materials, so we need photos with higher resolution.

I work in the National Statistics (and Mapping) Agency and we are looking

for pictures of all the cities around the country.

Best regards,

Maria

2016-07-05 15:27 GMT-03:00 Owen Evans <geonet@esri.com>:

GeoNet <https://community.esri.com/?et=watches.email.thread>

Story Map Crowdsource photos quality

reply from Owen Evans

<https://community.esri.com/people/OEvans-esristaff?et=watches.email.thread>

in Story Maps - View the full discussion

<https://community.esri.com/message/619035?et=watches.email.thread#comment-619035>

0 Kudos
OwenGeo
Esri Notable Contributor

Maria,

Great, thanks for the additional information!

Like I mentioned, there's currently no way to change this in the builder; however, you can manually adjust the resampling size by editing your story map's configuration file using a tool called the ArcGIS Online Assistant. Here's how:

  1. Go to https://ago-assistant.esri.com
  2. Log in using your ArcGIS account
  3. At the top click I want to...  View an item's JSON
  4. In the left panel, find your Crowdsource story and click it (you can use the search box at the top to help or just browse the folders)
  5. In the Data section of the right panel, find the JSON code shown in the screenshot below (search the web page for "smallestside") and change the smallestSide attribute to something larger, say 1500 or 2000.

The smallestSide attribute is the size (in pixels) that your contributors' images are resampled to when they are uploaded, if the smaller side is longer than the value specified. The smaller side is reduced to the value specified, and the aspect ratio is preserved. Images are not resampled if the smaller side is less than the specified size.

For example, if you set smallestSide to 2000 then a 2560x1920 image would be not be resized, but a 2304x3072 would be resized to 2000x2667.

 2016-07-05 at 3.44.22 PM.JPG

We'll definitely consider adding this to the builder in the future and also would like to add a way for authors to easily download the photos in builder as well. Currently you'd need to download them from your Crowdsource story's feature service item page.

Owen

Owen Evans
Lead Product Engineer | StoryMaps
0 Kudos
PatrickGrady1
New Contributor II

Owen,

Thanks for helping me to learn how to update records via the back-end, this makes switching out low res images for higher res images extremely easy.

StephenSylvia
Esri Regular Contributor

Maria,

Owen's method of increasing the photo settings does work but if you follow it exactly, you will find the app is slower to load because the app needs to load larger photos. Another workaround is to open the AGO Assistant as described but instead of editing the primary photo, add a third photo setting that will upload a new third photo attachment to your feature service that will not be used in the app.

ArcGIS_Online_Assistant.jpg

The crowdsource app currently resamples all photos uploaded to the app based on these settings. Because resampling photos is computationally intensive, slower computers and smartphones will crash if we attempt to resample a original size photo. Because of this, we initial load all our photos at a maximum resolution of 2000px by 2000px. Because of this, the highest resolution you will be able to get out of the app is with the above settings. If you need a higher quality photo, you will need to download and customize the application code.

You can access this photo by going to the feature service item detail page in ArcGIS Online and click the data tab. In the table, you should be able to view all the attachments listed for each feature.

Here are some samples of what you'll get:

Original Settings

http://services3.arcgis.com/dGkWQRTbdsLW3GnN/arcgis/rest/services/largePhotoTest/FeatureServer/0/1/a...

Largest Side: 2000/Quality: 1/Type: PNG

http://services3.arcgis.com/dGkWQRTbdsLW3GnN/arcgis/rest/services/largePhotoTest/FeatureServer/0/5/a...

0 Kudos