SOLVED

SharePoint 2013 EXIF data lost from jpg image files

%3CLINGO-SUB%20id%3D%22lingo-sub-1810211%22%20slang%3D%22en-US%22%3ESharePoint%202013%20EXIF%20data%20lost%20from%20jpg%20image%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1810211%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EWe%20upload%20jpg%20images%20to%20our%20SharePoint%202013%20site%2C%20and%20have%20noticed%20that%20we%20lose%20the%20EXIF%20data%20(lat%20%2F%20long)%20from%20the%20jpg.%20A%20a%20third%20party%20app%20which%20produced%20the%20images.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20noticed%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Ftroubleshoot%2Fadministration%2Fautomatic-exif-property-import-unsupported%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Ftroubleshoot%2Fadministration%2Fautomatic-exif-property-import-unsupported%3C%2FA%3E%26nbsp%3Bwhich%20discusses%20SharePoint%20Online%20indicates%20some%20changes%20-%20it%20is%20unclear%20whether%20this%20affects%20on-premise%20versions%20of%20SharePoint.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20maintain%20the%20EXIF%20data%20in%20SharePoint%202013%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1810211%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1811005%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%202013%20EXIF%20data%20lost%20from%20jpg%20image%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1811005%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F566749%22%20target%3D%22_blank%22%3E%40mbalcarek%3C%2FA%3E%26nbsp%3BIt%20is%20not%20obvious%2C%20reading%20your%20linked%20Microsoft%20article%2C%20what%20underlying%20platform%20capability%20that%20is%20no%20longer%20available.%20Similar%20issue%20found%20in%20this%20post%20regarding%20SharePoint%20online%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsharepoint-developer%2Fsharepoint-online-image-metadata-extraction-stopped-working%2Fm-p%2F293917%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsharepoint-developer%2Fsharepoint-online-image-metadata-extraction-stopped-working%2Fm-p%2F293917%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20a%20comment%20on%20this%20uservoice%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329214-sites-and-collaboration%2Fsuggestions%2F36665011-bring-back-sharepoint-online-image-metadata-extrac%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F329214-sites-and-collaboration%2Fsuggestions%2F36665011-bring-back-sharepoint-online-image-metadata-extrac%3C%2FA%3E%26nbsp%3Bindicates%20it%20is%20working%20again%20.%3F!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20it%20really%20have%20been%20removed%20from%20SharePoint%20online%20I%20would%20expect%20it%20to%20be%20removed%20somewhere%20down%20the%20migration%20path%20for%20on%20premise%20as%20well.%20But%20it%20depends%20on%20what%20that%20particular%20platform%20capability%20is.%3C%2FP%3E%3CP%3EAnyway%20the%20EXIF%20properties%20could%20be%20saved%20by%20developing%20a%20custom%20upload%20of%20your%20images%20as%20also%20suggested%20in%20the%20Microsoft%20article.%2C%20both%20for%20on%20prem%20and%20online%20.%3C%2FP%3E%3CP%3EBr.%20Rasmus%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1811106%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%202013%20EXIF%20data%20lost%20from%20jpg%20image%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1811106%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F566749%22%20target%3D%22_blank%22%3E%40mbalcarek%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EFor%20SharePoint%20Online%20the%20functionality%20was%20lost%20because%20of%20changes%20in%20the%20underlying%20OS.%20Looks%20like%20something%20similar%20has%20happened%20on%20your%20on-premise%20SharePoint%202013%20farm.%3CBR%20%2F%3EOne%20possible%20way%20forward%20for%20your%20SharePoint%202013%20environment%20is%20to%20upload%20the%20images%20using%20tools%20that%20supports%20EXIF%20metadata%20extraction.%3C%2FP%3E%3CP%3Ee.g.%20%3CA%20href%3D%22https%3A%2F%2Fwww.slimapplications.com%2Fwp-content%2Fuploads%2F2020%2F01%2FExample-Bing-map-SharePoint.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehere%3C%2FA%3E%3CBR%20%2F%3EAnother%20way%20forward%20is%20develop%20a%20custom%20solution.%3CBR%20%2F%3Edid%20you%20recently%20upgrade%20the%20OS%3F%3CBR%20%2F%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E
New 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 (New 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