bunch of bug fixes
This commit is contained in:
parent
c7b19a74bb
commit
01c0802c22
11 changed files with 40 additions and 25 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue