diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 819f16232..4c860926f 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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. diff --git a/sbin/fileImport.pl b/sbin/fileImport.pl index 1f179c13a..0a4a4ad32 100644 --- a/sbin/fileImport.pl +++ b/sbin/fileImport.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));