diff --git a/src/Plugin/MediaThumbnail/MediaThumbnailJp2.php b/src/Plugin/MediaThumbnail/MediaThumbnailJp2.php index d3fe5a1..5677a37 100644 --- a/src/Plugin/MediaThumbnail/MediaThumbnailJp2.php +++ b/src/Plugin/MediaThumbnail/MediaThumbnailJp2.php @@ -39,7 +39,7 @@ public function createThumbnail($sourceUri) { // Read the Jp2. try { - $cmd = "convert " . $path . " -resize " . $width . "x" . $width . " /tmp/" . $filename . ".jpg"; + $cmd = "convert " . $path . " -resize " . $width . "x" . $width . " /tmp/" . $filename . ".jpg"; exec($cmd); } catch (\ImagickException $e) {