Image: Usage with Cloud filesystem, i.e. Amazon AWS S3

Created on 29 Sep 2015  路  1Comment  路  Source: Intervention/image

How can I setup image intervention to upload images to my cloud storage setup in L5 filesystem config?

Most applications running on DigitalOcean will need some additional cloud if they are hosting images, so we're talking about a relatively large market (laravel applications hosting images, running on i.e. DO).

Most helpful comment

You take the result of encode() and save it to any storage you like.

$data = (string) Image::make('public/foo.png')->encode('jpg', 75);
Storage::put('file.jpg', $data);

>All comments

You take the result of encode() and save it to any storage you like.

$data = (string) Image::make('public/foo.png')->encode('jpg', 75);
Storage::put('file.jpg', $data);
Was this page helpful?
0 / 5 - 0 ratings

Related issues

theofidry picture theofidry  路  5Comments

DrDeath72 picture DrDeath72  路  4Comments

p4bloch picture p4bloch  路  6Comments

divdax picture divdax  路  7Comments

knif3rdev picture knif3rdev  路  6Comments