Fixed resize bug in fileImport.pl where vertical images would not be resized.
This commit is contained in:
parent
d94ca33474
commit
52ebd6eece
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
thumbnails for images without thumbnails. (perlDreamer Consulting, LLC)
|
||||
- fix: Database Connetion for ODBC fails for lengthy strings (thanks to Isaac
|
||||
Finegan, Core Mobility)
|
||||
- fix: the fileImport script did not resize vertical images. (Martin Kamerbeek / Oqapi)
|
||||
|
||||
7.3.11
|
||||
- Added an option for enabling coverage tests to testCodebase.pl.
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ sub addFiles {
|
|||
$newAsset->getStorageLocation->resize($filename, $maxImageSize);
|
||||
}
|
||||
elsif ($imgHeight > $maxImageSize) {
|
||||
$newAsset->getStorageLocation->resize($filename, , $maxImageSize);
|
||||
$newAsset->getStorageLocation->resize($filename, undef, $maxImageSize);
|
||||
}
|
||||
}
|
||||
$newAsset->setSize($storage->getFileSize($filename));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue