diff --git a/app/Console/Commands/PresentationProcess.php b/app/Console/Commands/PresentationProcess.php index 5e1f9b1..45c5f17 100644 --- a/app/Console/Commands/PresentationProcess.php +++ b/app/Console/Commands/PresentationProcess.php @@ -53,6 +53,7 @@ public function processPdf($presentation) for ($i = 1; $i <= $pages; $i++) { $random = Str::random(7); $imagename = $random . '-' . $i . '.jpg'; + $pdf->setResolution(300); $pdf->setPage($i)->saveImage(public_path('data/presentations/' . $presentation->id . '/' . $imagename)); $resizeImage = \Intervention\Image\Facades\Image::make(public_path('data/presentations/' . $presentation->id . '/' . $imagename)) diff --git a/resources/views/presentations/show.blade.php b/resources/views/presentations/show.blade.php index 3b90462..fcc0e8f 100644 --- a/resources/views/presentations/show.blade.php +++ b/resources/views/presentations/show.blade.php @@ -17,7 +17,7 @@ alt=""> @can('delete presentations') -
@csrf @method('DELETE')