print "Reading gallery.list\n";
my $orig_list = $gal->read_list('gallery.list') or die "Cannot read gallery.list: $!\n";
-my $photo_dir = $gal->get('PhotoDir');
my $photo_meta = $gal->photo_meta_name;
print "Reading meta-data from $photo_meta\n";
-f $photo_meta or die "Cannot load $photo_meta\n";
print "\t$id: ";
my $p = new Image::Magick;
- my $photo = File::Spec->catfile($photo_dir, $gal->photo_name($m, $id));
+ my $photo = $gal->photo_name($m, $id);
my $e;
$e = $p->Read($photo) and die "Error reading $photo: $e";