dimanche 29 octobre 2017

How to get full url of image after amazon s3 upload

I need to get full url of a image which is uploaded to amazon s3. I tried following functions. I am using laravel 5.1.

Storage::disk("s3")->url($filename);
Storage::url($filename);
Storage::temporaryUrl('file1.jpg', Carbon::now()->addMinutes(5));
$filesystem->getAdapter()->getClient()->getObjectUrl($bucket, $key);

all are showing undefined function url (or) temporaryUrl (or) getObjectUrl.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire