Awesome tool....

KOTP

Joined: 2007-07-23
Posts: 2
Posted: Mon, 2007-07-23 03:49

I was wondering if anyone had any ideas about modifying photo names based on Exif information...

For example, my camera has a bad habit of not including the year name, but names photos taken in the format of MONTH DAY SEQUENCE so I have files taken yearly of birthdays that if I am not careful get overwritten if I am trying to conglomerate my photos... (even writing on CD-ROM can have this problem, due to same file names) but they were taken in different years, so this ends up being a problem after the first year of ownership (or if you battery dies and you don't realize it went back to the default date.)

Anyway, I would like to be able to have my members upload photos, have the EXIF or whatever other photo information formats there may be, and extract the date, and maybe do a membername-YYMMDDHHMMSS file scheme to prevent files from be overwritten.

Any ideas on this?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2007-08-01 18:15

take a look at modules/exif/ExifDescriptionOption.inc
there is code here for setting various item fields from the exif/iptc data.. you could modify this to do what you want.