Answer the question
In order to leave comments, you need to log in
How to crop images before uploading to server in yii2?
There is a form with connected YII2-Images, connected cropping of pictures after loading.
Found that when loading several images, it eats up all the RAM on the hosting.
Google found that you can change the server settings, now it loads without error but for a very long time.
The task of cropping and compressing pictures (not just one) even before uploading
to the server, can be done according to the
standard
Answer the question
In order to leave comments, you need to log in
The task is to crop and compress pictures (not just one) before uploading to the server
'graphicsLibrary' => 'GD', //but really its better to use 'Imagick'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question