summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b90a2bd)
rating => 0,
rated => 0,
});
rating => 0,
rated => 0,
});
- copy($filename, $photo->path("file"));
+ if (!copy($filename, $photo->path("file"))) {
+ $photo->delete(); die "Couldn't copy photo: $!";
+ }
my ($x, $y) = dim(image_info($photo->path));
$photo->x($x); $photo->y($y);
my ($x, $y) = dim(image_info($photo->path));
$photo->x($x); $photo->y($y);