Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Sort iPhoto album images by forward date' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sort iPhoto album images by forward date
Authored by: SlewSys on Nov 21, '05 06:02:27PM
Assuming that your camera names the images sequentially, try View -> Arrange/Sort Photos -> by Title. If merging images from several cameras, maybe renaming images according to their EXIF creation date would be warranted. For example, running the following Perl script would rename all JPEGs in the current directory.


use Image::ExifTool;

$exif = new Image::ExifTool;
$exif->Options(Group0 => ['EXIF']);

$exif_tag = "CreateDate";

foreach (<*.[Jj][Pp][Gg] *.[Jj][Pp][Ee][Gg]>) {
        $image = $exif->ImageInfo($_);
        ($image_date = $image->{$exif_tag}) =~ y/: /.-/;
        if (! $image_date) {
                printf STDERR "$_: No EXIF: Con't rename.n";
        $new_name = $image_date . "-" . $seen{$image_date} . ".jpg";
        printf STDERR "$_ => $new_namen";
        rename $_, $new_name;
# End of Script
The Perl module Image::ExifTool can be installed via the terminal command:
 perl -MCPAN -e install Image::ExifTool 

[ Reply to This | # ]
Sort iPhoto album images by forward date
Authored by: leenoble_uk on Nov 22, '05 02:40:00AM

My camera does name the files sequentially but iPhoto still orders then in reverse when arranged by title. I don't understand its attitude.

If I used that method and then changed the titles of any of the photographs for use in an album or publishing on dotMac then arranging by title wouldn't help.

There really should be an option to arrange, in all four ways, ascending and descending. Just an arrow to flip the list upside down would do the job.

Brought to you by S C Johnson, a family multinational conglomerate.

[ Reply to This | # ]