AnsweredAssumed Answered

Setting rotation of Collector photos?

Question asked by rborchert on Jan 29, 2018

We are just starting out a  new project using Collector.  Our field techs will be taking 3 to 15 photos per job per site. 

 

I am using the Python script to import the photos to my local drive.

import arcpy from arcpy import da import os  inTable = arcpy.GetParameterAsText(0) fileLocation = arcpy.GetParameterAsText(1)  with da.SearchCursor(inTable, ['DATA', 'ATT_NAME', 'ATTACHMENTID']) as cursor:     for item in cursor:         attachment = item[0]         filenum = "ATT" + str(item[2]) + "_"         filename = filenum + str(item[1])         open(fileLocation + os.sep + filename, 'wb').write(attachment.tobytes())         del item         del filenum         del filename         del attachment

I modified it to point directly to our drives.
The issue we are going to have is all the photos are coming in as a landscape orientation.
Even if the techs are taking the photos in portrait with their phones.

All our techs are using iPhone 6 or 7
Is there a setting that can be added to the script to leave the orientation as it was taken? 
If we had the techs take all their photos with their phone in a landscape position that would work fine.

Outcomes