New Spark Media Platform Help

XMP, IPTC, and EXIF Data

View EXIF, IPTC, and XMP metadata associated with an entry, right on the media detail page.

The information boxes can be found below the media stats and groups section. Click the downward arrow to expand the info box and access additional details that are stored within the file.

The data is also available via FileInfo and MediaList components as well as the getFiles and getFileInfo API calls.

fm:FileInfo Example

<fm:FileInfo mid="123">
Date Created From IPTC: {$media.metadata.iptc.DateCreated}
Camera Model From EXIF: {$media.metadata.exif.Model}
Lense Information from XMP: {$media.metadata.xmp.LensProfileName}
</fm:FileInfo>

fm:MediaList Example

<fm:MediaList fields="metadata">
<fm:Loop>
EXIF Meta data: {$$media_metadata.exif.Make}
IPTC Meta data: {$$media_metadata.iptc.CodedCharacterSet}
XMP Meta data: {$$media_metadata.xmp.CameraProfile}
</fm:Loop>
</fm:MediaList>

media.getFiles Example

		/services/rest/media.getFiles?vhost=ABC&fields[]=metadata
<result>
<totalCount>226</totalCount>
<data>
<item>
<id>123</id>
<metadata>...</metadata>
<vhost>ABC</vhost>
<publicUrl>http://rstorage.filemobile.com/storage/123</publicUrl>
<thumbUrl>http://storage.filemobile.com/storage/123</thumbUrl>
<location>rstorage</location>
<metadataArray>
<exif>
    <FileName>phpQyfVEA</FileName>
    <FileDateTime>1434039576</FileDateTime>
    <FileSize>6715485</FileSize>
    <FileType>2</FileType>
    <MimeType>image/jpeg</MimeType>
    <SectionsFound>ANY_TAG, IFD0, THUMBNAIL, EXIF, INTEROP, MAKERNOTE</SectionsFound>
    <ImageDescription/>
    <Make>NIKON</Make>
    <Model>COOLPIX S6300</Model>
    <Orientation>1</Orientation>
    <XResolution>300/1</XResolution>
    <YResolution>300/1</YResolution>
    <ResolutionUnit>2</ResolutionUnit>
    <Software>Nikon Transfer 2.3 M</Software>
    <DateTime>3914:09:07 15:17:50</DateTime>
    <YCbCrPositioning>1</YCbCrPositioning>
    <Exif_IFD_Pointer>236</Exif_IFD_Pointer>
    <ExposureTime>1/1250</ExposureTime>
    <FNumber>18/5</FNumber>
    <ExposureProgram>2</ExposureProgram>
    <ISOSpeedRatings>125</ISOSpeedRatings>
    <ExifVersion>0230</ExifVersion>
    <DateTimeOriginal>2014:08:07 13:51:20</DateTimeOriginal>
    <DateTimeDigitized>2014:08:07 13:51:20</DateTimeDigitized>
    <ExposureBiasValue>0/10</ExposureBiasValue>
    <MaxApertureValue>33/10</MaxApertureValue>
    <MeteringMode>5</MeteringMode>
    <LightSource>0</LightSource>
    <Flash>16</Flash>
    <FocalLength>34/5</FocalLength>
</exif>
<iptc>
    <ObjectName>AUSTRALIA - MH17 - DAY OF MOURNING</ObjectName>
    <Urgency>1 (most urgent)</Urgency>
    <Category>DIS</Category>
    <SupplementalCategories>Transport accident</SupplementalCategories>
    <Keywords>
        <item>New Spark</item>
        <item>Citizenside</item>
        <item>New Spark</item>
    </Keywords>
    <ContentLocationCode>AUS</ContentLocationCode>
    <ContentLocationName>Australia</ContentLocationName>
    <ReleaseDate>2014:08:07</ReleaseDate>
    <ReleaseTime>04:47:25+10:00</ReleaseTime>
    <By-lineTitle>Citizenside.com</By-lineTitle>
    <City>Canberra</City>
    <Province-State>Australian Capital Territory</Province-State>
    <Country-PrimaryLocationCode>AUS</Country-PrimaryLocationCode>
    <Country-PrimaryLocationName>Australia</Country-PrimaryLocationName>
    <OriginalTransmissionReference>AU_6378_63183</OriginalTransmissionReference>
    <Headline>Canberra: Flags fly at half-mast in mourning of MH17 victims </Headline>
    <Credit>citizenside.com</Credit>
    <Source>citizenside.com</Source>
    <CopyrightNotice>(c) copyright citizenside.com</CopyrightNotice>
    <Caption-Abstract>
AUSTRALIA, Canberra: Parliament House is one of several sites of significance in Canberra, ACT with its flag flown at half mast on August 7, 2014, announced by the Australian government as a national day of mourning for victims of the MH17 air crash. An official memorial service was also held in Melbourne for the 38 Australian citizens and residents that lost their lives when the Malaysia Airlines plane was shot down over Ukraine on July 17. CITIZENSIDE/ASHLEY THOMSON
    </Caption-Abstract>
</iptc>
</metadataArray>
</item>
Meta Data Information Boxes

0 comments

Be the first to comment on XMP, IPTC, and EXIF Data.

Add a Comment

  • captcha