Skip to content

Commit c9b71c2

Browse files
authored
Merge pull request #5 from bolt/bugfix/image-resize-over-max
Don't resize image over original size
2 parents 9b71954 + 6a313c0 commit c9b71c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/Upload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function handleUpload(Request $request): JsonResponse
104104
if ($result->isValid()) {
105105
$resultMessage = [
106106
'filekey' => [
107-
'url' => '/thumbs/1000x1000/' . $result->name,
107+
'url' => '/thumbs/1000×1000×max/' . $result->name,
108108
'id' => 1,
109109
],
110110
];

0 commit comments

Comments
 (0)