title: HTML file input accept images with certain dimension
body: <p>I know this may require some javascript but how can I tell the input inside my form to reject images with size different than 64 x 64 without pressing the submit button.</p>
  
  <pre><code>&lt;div class="form-group"&gt;
     &lt;label for="plat_img"&gt;Icono&lt;/label&gt;
     &lt;input type="file" 
            accept="image/*"
            class="form-control" 
            id="plat_img"&gt;
  </code></pre>
  
  <p>The verification should happen as soon as the image is selected and if rejected, notify the user via an alert.</p>