Closed Starite closed 7 years ago
Read manual, please. https://github.com/bupy7/yii2-widget-cropbox#how-use
I've read it but I don't understand most of it. I don't use Imagine extension and I use controller to save image. Can you tell me how can I save the cropped image using controller? Thank you!
The cropped picture you can save only use Imagine extension or a similar it.
Thank you :)
Here's my controller
My model
My View
<?= $form->field($model, 'images')->widget(Cropbox::className(), [ 'attributeCropInfo' => 'crop_info', ]);?>
With this I can only save the original picture not the cropped picture. I could not figure out how to save the cropped picture. Please help me with this.
Thank you!