1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-06 06:07:31 +02:00

Version 1.3.7: Resize and grayscale images on the fly

This commit is contained in:
trendschau
2020-06-08 15:45:26 +02:00
parent 76ab04d217
commit 021f487fe7
4 changed files with 156 additions and 34 deletions

View File

@@ -213,7 +213,7 @@ class MediaApiController extends ContentController
}
$imageProcessor = new ProcessImage($this->settings['images']);
if(!$imageProcessor->checkFolders())
if(!$imageProcessor->checkFolders('images'))
{
return $response->withJson(['errors' => 'Please check if your media-folder exists and all folders inside are writable.'], 500);
}