Thatdoorsajar

I was having the same problem as people here but none of the above solved. This was how I managed to get image uploads to s3 to work:

$image = Image::make($image)->encode('png');
Storage::disk('s3')->put($path.$file, $image->getEncoded());

This might be because I was encoding all my images to png format so I needed to grab the encoded value. I am using Intervention\Image 2.1. Thanks

Return to Thread...