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.

Screenshots

Archived files

Documentation

Source code

Project owner

Sebastiaan Janssen

Sebastiaan Janssen

Sebastiaan has 12035 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (0%)
6.0.x (untested)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Sebastiaan Janssen
  • Created: 17/07/2010
  • Current version 0.6
  • License MIT
  • Downloads: 998

External resources