diff --git a/Upload.class.php b/Upload.class.php index fd0a8d6..5034e83 100644 --- a/Upload.class.php +++ b/Upload.class.php @@ -151,6 +151,7 @@ abstract class Upload $path_parts = pathinfo($file_path); $image->path = preg_replace('#^' . Config::get('PATH_WEB_ROOT') . '/#', '', $path_parts['dirname']); $image->filename = $path_parts['basename']; + self::defineSizeWidthAndHeight($image); unset($greagwar_image); }