@@ -329,6 +329,4 @@ |
||
| 329 | 329 | $image = Image::make($original_image->get()) |
| 330 | 330 | ->fit($thumbWidth, $thumbHeight); |
| 331 | 331 | |
| 332 | - $this->storage->put($image->stream()->detach(), 'public'); |
|
| 333 | - } |
|
| 334 | -} |
|
| 332 | + $this->storage->put($image->stream |
|
| 335 | 333 | \ No newline at end of file |
@@ -329,6 +329,4 @@ |
||
| 329 | 329 | $image = Image::make($original_image->get()) |
| 330 | 330 | ->fit($thumbWidth, $thumbHeight); |
| 331 | 331 | |
| 332 | - $this->storage->put($image->stream()->detach(), 'public'); |
|
| 333 | - } |
|
| 334 | -} |
|
| 332 | + $this->storage->put($image->stream |
|
| 335 | 333 | \ No newline at end of file |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | use UniSharp\LaravelFilemanager\Events\FileWasUploaded; |
| 10 | 10 | use UniSharp\LaravelFilemanager\Events\ImageIsUploading; |
| 11 | 11 | use UniSharp\LaravelFilemanager\Events\ImageWasUploaded; |
| 12 | -<<<<<<< HEAD |
|
| 12 | +<< << <<< HEAD |
|
| 13 | 13 | use Illuminate\Support\Str; |
| 14 | 14 | ======= |
| 15 | 15 | use UniSharp\LaravelFilemanager\LfmUploadValidator; |
@@ -329,6 +329,4 @@ discard block |
||
| 329 | 329 | $image = Image::make($original_image->get()) |
| 330 | 330 | ->fit($thumbWidth, $thumbHeight); |
| 331 | 331 | |
| 332 | - $this->storage->put($image->stream()->detach(), 'public'); |
|
| 333 | - } |
|
| 334 | -} |
|
| 332 | + $this->storage->put($image->stream |
|
| 335 | 333 | \ No newline at end of file |
@@ -329,6 +329,4 @@ |
||
| 329 | 329 | $image = Image::make($original_image->get()) |
| 330 | 330 | ->fit($thumbWidth, $thumbHeight); |
| 331 | 331 | |
| 332 | - $this->storage->put($image->stream()->detach(), 'public'); |
|
| 333 | - } |
|
| 334 | -} |
|
| 332 | + $this->storage->put($image->stream |
|
| 335 | 333 | \ No newline at end of file |
@@ -329,6 +329,4 @@ |
||
| 329 | 329 | $image = Image::make($original_image->get()) |
| 330 | 330 | ->fit($thumbWidth, $thumbHeight); |
| 331 | 331 | |
| 332 | - $this->storage->put($image->stream()->detach(), 'public'); |
|
| 333 | - } |
|
| 334 | -} |
|
| 332 | + $this->storage->put($image->stream |
|
| 335 | 333 | \ No newline at end of file |