[TYPO3-dam] writing meta data back to file

Martin Holtz typo3 at martinholtz.de
Wed Jan 21 20:03:25 CET 2009


Hi Michiel,

on a second glance everything looks right.

If exiftool gives you no Meta-Data like "headline" etc. it will not read it.

You can set via console meta data:

exiftool -IPTC:headline=mytest PrinsenGracht.jpg

read it with
exiftool -IPTC:headline PrinsenGracht.jpg

if you index that file, you should get the headline right (because it is configured:
tx_exiftool_sv1.match {
  # put output from  "exiftool -Headline file.jpg" into dam.title
  title.1 = Headline
  # write dam.title via "exiftool -headline={dam.title} file.jpg"
  title.tag.1 = -headline
}

so, perhaps there are configuration statements missing?

If yes, we should think of ts-syntax:)

regards,
martin

> The Cli version of exiftool gives:
> ExifToolVersion: 7.37
> FileName: PrinsenGracht.jpg
> Directory: .
> FileSize: 303 kB
> FileModifyDate: 2005:09:03 00:03:44
> FileType: JPEG
> MIMEType: image/jpeg
> JFIFVersion: 1.01
> ResolutionUnit: inches
> XResolution: 72
> YResolution: 72
> ExifByteOrder: Big-endian (Motorola, MM)
> Comment: MINOLTA DIGITAL CAMERA
> ImageWidth: 2046
> ImageHeight: 962
> EncodingProcess: Baseline DCT, Huffman coding
> BitsPerSample: 8
> ColorComponents: 3
> YCbCrSubSampling: YCbCr4:4:4 (1 1)
> ImageSize: 2046x962
> 
> 
> Exiftool extension (debug) gives me:
> keywords
> title
> category 	13
> file_orig_location
> file_creator
> ident
> creator
> description
> publisher
> copyright
> instructions
> loc_desc
> loc_country
> loc_city
> hres 	72
> vres 	72
> file_orig_loc_desc 	exiftool
> meta
> iptc
> keywords
> title
> category
> file_orig_location
> file_creator
> ident
> creator
> description
> publisher
> copyright
> instructions
> loc_desc
> loc_country
> loc_city
> hres 	72
> vres 	72
> 
> 
> Kind regards,
> 
> 
> Michiel Roos
> 
> 

-- 
DocTeam: http://forge.typo3.org/projects/show/team-docteam

http://wiki.typo3.org/Ts45min - TypoScript in "45" Minutes
http://wiki.typo3.org/De:ts45min - (auch in Deutsch)


More information about the TYPO3-project-dam mailing list