SOLVED

SharePoint 2013 EXIF data lost from jpg image files

Copper Contributor

Hello,

We upload jpg images to our SharePoint 2013 site, and have noticed that we lose the EXIF data (lat / long) from the jpg. A a third party app which produced the images. 

 

I have noticed https://docs.microsoft.com/en-us/sharepoint/troubleshoot/administration/automatic-exif-property-impo... which discusses SharePoint Online indicates some changes - it is unclear whether this affects on-premise versions of SharePoint. 

 

Is there a way to maintain the EXIF data in SharePoint 2013?

4 Replies

@mbalcarek It is not obvious, reading your linked Microsoft article, what underlying platform capability that is no longer available. Similar issue found in this post regarding SharePoint online https://techcommunity.microsoft.com/t5/sharepoint-developer/sharepoint-online-image-metadata-extract... 

However a comment on this uservoice https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/36665011-bring-ba... indicates it is working again .?!

 

If it really have been removed from SharePoint online I would expect it to be removed somewhere down the migration path for on premise as well. But it depends on what that particular platform capability is.

Anyway the EXIF properties could be saved by developing a custom upload of your images as also suggested in the Microsoft article., both for on prem and online .

Br. Rasmus 

@mbalcarek 
For SharePoint Online the functionality was lost because of changes in the underlying OS. Looks like something similar has happened on your on-premise SharePoint 2013 farm.
One possible way forward for your SharePoint 2013 environment is to upload the images using tools that supports EXIF metadata extraction.

e.g. here
Another way forward is develop a custom solution.
did you recently upgrade the OS?
Paul

best response confirmed by mbalcarek (Copper Contributor)
Solution

EXIF data (10/23/2020) is retained in jpg files in SharePoint 2013.

I have tested SharePoint 2013 with EXIF data from first principals:

  1. first manually uploading jpg file to SharePoint and then downloading it, and it retains the EXIF data
  2. using CSOM code to upload the file and then manually down load it, and it retains the EXIF data
    1. Microsoft.SharePoint.Client.File.SaveBinaryDirect(context, doclibRelativeUrl, fs, true);

I used https://www.conversion-tool.com/exifreader to check for the metadata .

 

Looks like our issue may be related to our 3rd party software, or the code used to upload the images. My apologies for wasting everyone's time here.

@mbalcarek 

Good to hear the problem is solved. SharePoint does not alter existing properties in images like EXIF.

FYI: there are also tools that allow you to view the EXIF (and other metadata formats) directly in SharePoint. See e.g. here or here
Paul

1 best response

Accepted Solutions
best response confirmed by mbalcarek (Copper Contributor)
Solution

EXIF data (10/23/2020) is retained in jpg files in SharePoint 2013.

I have tested SharePoint 2013 with EXIF data from first principals:

  1. first manually uploading jpg file to SharePoint and then downloading it, and it retains the EXIF data
  2. using CSOM code to upload the file and then manually down load it, and it retains the EXIF data
    1. Microsoft.SharePoint.Client.File.SaveBinaryDirect(context, doclibRelativeUrl, fs, true);

I used https://www.conversion-tool.com/exifreader to check for the metadata .

 

Looks like our issue may be related to our 3rd party software, or the code used to upload the images. My apologies for wasting everyone's time here.

View solution in original post