Level 104
Make an Intervention\Image instance of the uploaded image
$img = Image::make($this->cover_image);
$img->insert($watermark, 'center');
I am trying to add a watermark on an image white uploading here is the code // create a new Image instance for inserting $watermark = Image::make(public_path('assets/images/brand/logo.png'));
$img = $this->cover_image;
$img->insert($watermark, 'center');
$img->storeAs('product', $imageName);
$vehicle->cover_image = $imageName;
$vehicle->save();
session()->flash('message', 'Add has been created successfully');
$this->reset();
but i am geting an error. here is the error Method Livewire\TemporaryUploadedFile::insert does not exist. Help
Please or to participate in this conversation.