title: Intervention image aspect ratio
body: <p>I want to resize my images through Intervention image functionality in Laravel 4, but to keep aspect ratio of an image, this is what my code looks like:  </p>
  
  <pre><code>$image_make         = Image::make($main_picture-&gt;getRealPath())-&gt;fit('245', '245', function($constraint) { $constraint-&gt;aspectRatio(); })-&gt;save('images/articles/'.$gender.'/thumbnails/245x245/'.$picture_name);
  </code></pre>
  
  <p>Problem is that this doesn't keep aspect ratio of my image, thanks.</p>