define image sizes in saveImage method
This commit is contained in:
@ -152,6 +152,7 @@ abstract class Upload
|
||||
$path_parts = pathinfo($file_path);
|
||||
$image->path = preg_replace('#^' . \Majestic\Config::get('PATH_WEB_ROOT') . '/#', '', $path_parts['dirname']);
|
||||
$image->filename = $path_parts['basename'];
|
||||
self::defineSizeWidthAndHeight($image);
|
||||
unset($greagwar_image);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user