We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e182071 + 035c992 commit 328d618Copy full SHA for 328d618
Modules/Media/Http/Controllers/Api/MediaController.php
@@ -53,7 +53,7 @@ public function all()
53
return '<i class="fa fa-folder" style="font-size: 20px;"></i>';
54
}
55
if ($file->isImage()) {
56
- return '<img src="' . Imagy::getThumbnail($file->path, 'smallThumb') . '"/>';
+ return '<img src="' . $this->imagy->getThumbnail($file->path, 'smallThumb') . '"/>';
57
58
59
return '<i class="fa ' . FileHelper::getFaIcon($file->media_type) . '" style="font-size: 20px;"></i>';
0 commit comments