Answer the question
In order to leave comments, you need to log in
Why does Laravel change image resolution when uploading to server?
Using the Intervention Image library, I copy the image (passed through the form) to the server. The original image is 72 pixels per inch, and after uploading to the server it becomes 96.
The code is very simple:
$img = Image::make($file)->save('uploads/cards/'.$file_name);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question