Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,27 @@ https://res.cloudinary.com/my-cloud-name/image/upload/v1/client_cat/meow.jpg
In the Media Library it is stored in `client_cat/meow` and you can retrieve
the image with `meow`:

```php
use Illuminate\Support\Facades\Storage;

Storage::disk('cloudinary')->getAdapter()->getUrl('meow');
```

You can use Cloudinary tranformation and options when retrieving the image:

```php
use Illuminate\Support\Facades\Storage;

Storage::disk('cloudinary')->getUrl('meow');
Storage::disk('cloudinary')->getAdapter()->getUrl([
'path' => 'meow',
'options => ['w_250', 'h_250', 'c_thumb',]
);
```

You can find all options in
the [official documentation](https://cloudinary.com/documentation/transformation_reference)


This should increase the trust to store and retrieve your assets from the
correct folder.

Expand Down
Loading