bunch of bug fixes

This commit is contained in:
JT Smith 2005-03-23 19:15:23 +00:00
parent c7b19a74bb
commit 01c0802c22
11 changed files with 40 additions and 25 deletions

View file

@ -169,7 +169,7 @@ sub getSizeInPixels {
my $image = Image::Magick->new;
my $error = $image->Read($self->getPath($filename));
if ($error) {
WebGUI::ErrorHandler::warn("Couldn't read image for resizing: ".$error);
WebGUI::ErrorHandler::warn("Couldn't read image to check the size of it: ".$error);
return 0;
}
return $image->Get('width','height');