how i can crop with spatie/image
and after that upload the image to s3
$new_image = Image::load($this->photo->temporaryUrl())
->width(50);
$new->storePubliclyAs(‘photos’,$new_image ‘s3’);
i try that but
not success
how i can crop with spatie/image
and after that upload the image to s3
$new_image = Image::load($this->photo->temporaryUrl())
->width(50);
$new->storePubliclyAs(‘photos’,$new_image ‘s3’);
i try that but
not success
Hi!
There is a paid video: https://codecourse.com/watch/crop-and-upload-avatars-with-laravel-livewire?part=storing-the-cropped-avatar
but works with alpine + cropper.js