title: How can I add validate dimension in pixels with rules laravel?
body: <p>I use laravel 5.3</p>
  
  <p>My validate rules laravel like this :</p>
  
  <pre><code>&lt;?php
  namespace App\Http\Requests;
  use Illuminate\Foundation\Http\FormRequest;
  class StoreProfileCreateRequest extends FormRequest
  {
      ..
      public function rules()
      {
          return [
              'banner'=&gt; 'required|mimes:jpeg,bmp,png,jpg|max:7024'
          ];
      }
  }
  </code></pre>
  
  <p>I want to add validate dimensions in pixels. So if user not upload banner with dimension 1170 x 300 pixels there exist message like this :</p>
  
  <pre><code>Please upload an image with 1170 x 300 pixels dimension
  </code></pre>
  
  <p>How can I add the validate on the rules?</p>