Variable in load function SimpleImage class
<p>I have problem with SimpleImage class. </p>

<p>In case I have in load filename.extension (like 51533b35b6096.jpg) it works. </p>

<pre><code>$image = new SimpleImage();

$image-&gt;load('51533b35b6096.jpg');
$image-&gt;resize(900,700);
$image-&gt;save("./images/b_" . $img_name);
</code></pre>

<p>If I add variable in load it gives me error "failed to open stream: No such file or directory"</p>

<pre><code>$image = new SimpleImage();

$img_path = "51533b35b6096.jpg";
$image-&gt;load('$img_path');
$image-&gt;resize(900,700);
$image-&gt;save("./images/b_" . $img_name);
</code></pre>

<p>How can I solve that? Thanks in advance</p>
