13 votes

Cultiv PhotoMetaData

The PhotoMetaData package will extract meta data from images that you upload in your media section. This works in both Umbraco 4.0.x and 4.5.

When you create a property with the correct name (see below for the list), it will be filled as soon as you upload an image in the media section.

You are required to create a property called "overwriteMetaData" on the media type of the type "True/False" that you want to read the metadata from.

When you re-upload a picture over the existing item, you might not want to update the meta data, that's what this property is for.

Just add any of the properties from the list below to the media item and they will be filled automagically (if this meta data is present in the image file of course).

This package uses the great open source library FotoFly: http://fotofly.codeplex.com/

This IS a beta as I can't possibly test all of the different types and formats of metadata. The FotoFly library has plenty of unit tests to verify that they all work, to which I've contributed some example pictures as well as some of them were not working yet.

These are the 63 (!) properties that are available:

  • addressOfGpsLookupDate
  • addressOfGpsSource
  • addressOfLocationCreatedAddressLine
  • addressOfLocationCreatedCity
  • addressOfLocationCreatedCountry
  • addressOfLocationCreatedHierarchicalCountryRegionCity
  • addressOfLocationCreatedHierarchicalName
  • addressOfLocationCreatedIsCompleteAddress
  • addressOfLocationCreatedIsValidAddress
  • addressOfLocationCreatedParts
  • addressOfLocationCreatedRegion
  • addressOfLocationCreatedShortName
  • addressOfLocationShownAddressLine
  • addressOfLocationShownCity
  • addressOfLocationShownCountry
  • addressOfLocationShownHierarchicalCountryRegionCity
  • addressOfLocationShownHierarchicalName
  • addressOfLocationShownIsCompleteAddress
  • addressOfLocationShownIsValidAddress
  • addressOfLocationShownParts
  • addressOfLocationShownRegion
  • addressOfLocationShownShortName
  • aperture
  • authors
  • cameraManufacturer
  • cameraModel
  • comment
  • copyright
  • creationSoftware
  • dateAquired
  • dateDigitised
  • dateModified
  • dateTaken
  • description
  • dateUtc
  • digitalZoomRatio
  • exposureBias
  • focalLength
  • gpsPositionOfLocationCreatedAltitude
  • gpsPositionOfLocationCreatedDimension
  • gpsPositionOfLocationCreatedIsValidCoordinate
  • gpsPositionOfLocationCreatedLongitude
  • gpsPositionOfLocationCreatedLatitude
  • gpsPositionOfLocationCreatedSatelliteTime
  • gpsPositionOfLocationCreatedSource
  • horizontalResolution
  • imageHeight
  • imageWidth
  • isOriginalCameraDateSet
  • isoSpeed
  • isUtcDateSet
  • meteringMode
  • microsoftRegionInfo
  • orientation
  • originalCameraDate
  • originalCameraFilename
  • people
  • rating
  • shutterSpeed
  • subject
  • tags
  • utcOffset
  • verticalResolution

This package has won the third prize in de package contest on CodeGarden '10.


Archived files


Source code

Package owner

Sebastiaan Janssen

Sebastiaan Janssen

Sebastiaan has 15513 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Sebastiaan Janssen
  • Created: 17/07/2010
  • Current version 0.6
  • License MIT
  • Downloads on Our: 1.3K

External resources