File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -130,12 +130,27 @@ https://res.cloudinary.com/my-cloud-name/image/upload/v1/client_cat/meow.jpg
130130In the Media Library it is stored in ` client_cat/meow ` and you can retrieve
131131the image with ` meow ` :
132132
133+ ``` php
134+ use Illuminate\Support\Facades\Storage;
135+
136+ Storage::disk('cloudinary')->getAdapter()->getUrl('meow');
133137```
138+
139+ You can use Cloudinary tranformation and options when retrieving the image:
140+
141+ ``` php
134142use Illuminate\Support\Facades\Storage;
135143
136- Storage::disk('cloudinary')->getUrl('meow');
144+ Storage::disk('cloudinary')->getAdapter()->getUrl([
145+ 'path' => 'meow',
146+ 'options => ['w_250', 'h_250', 'c_thumb',]
147+ );
137148```
138149
150+ You can find all options in
151+ the [ official documentation] ( https://cloudinary.com/documentation/transformation_reference )
152+
153+
139154This should increase the trust to store and retrieve your assets from the
140155correct folder.
141156
You can’t perform that action at this time.
0 commit comments