title: Get image size with filesize() php
body: <p>this is my code</p>
  <pre><code>$img=(&quot;http://dreamhouse.gocrm.uz/&quot;.$image-&gt;path);
  
  $size=filesize($img);
  </code></pre>
  <p>I want to know image size but I get like this error &quot;local.ERROR: filesize(): stat failed for ...&quot;</p>
  <p>what I should do pls give advise</p>