symfony2 assetic image not showing
<p>I am new to symfony2 using assetic.</p>

<pre><code>{% set file %}{{ app.request.server.get('DOCUMENT_ROOT') ~ asset('bundles/robmhosearch/houses-thumbs/' ~ listing.code ~ '.jpg') }}{% endset %} {% if file_exists(file) %}
</code></pre>

<p>This is returning file doesn't exist for the images uploaded via ftp, while i have checked through ftp, file is present there. </p>