title: Resizing uploaded image in Laravel and store in S3 is not working
body: <p>I am trying to upload a couple of resized images to S3, but somehow all images have the same size. Storing them locally in different sizes gives no problems. What am I missing?</p>
  
  <pre><code>public function uploadFileToS3(Request $request) {
      $image = Image::make($request-&gt;file('image'))-&gt;encode('jpg', 75);
      $s3 = Storage::disk('s3');
  
      $image_file_name = $this-&gt;generateName($request-&gt;name) . '.jpg';
      $file_path = '/' . config('folder') . '/' . $request-&gt;name . '/';
  
      $s3-&gt;put($file_path.'original_'.$image_file_name, $image, 'public');
      $s3-&gt;put($file_path.'medium_'.$image_file_name, $image-&gt;fit(300, 300), 'public');
      $s3-&gt;put($file_path.'thumb_'.$image_file_name, $image-&gt;fit(100, 100), 'public');
  
      return json_encode(array(
          'filename' =&gt; $image_file_name
      ));
  }
  </code></pre>
  
  <p>All versions are stored successfully in S3, only all in the same size</p>