title: Symfony2 - Displaying uploaded image in Twig from a Data Fixture or blog text
body: <p>How do I display an image in Twig loaded from a Doctrine Fixture that I've uploaded to the web/images folder? It displays when calling it from the acutal Twig but not from fixtures or entering the line when creating the blog text.</p>
  
  <p>I have tried this line which doesn't load when in a fixture file (or inside the blog body when creating the blog entry) BUT when I use this line inside of the actual Twig file it does the image correctly? </p>
  
  <pre><code>&lt;img src="{{ asset(['images/', blog.image]|join) }}" /&gt;
  </code></pre>
  
  <p>Using this to display the blogs in twig:</p>
  
  <pre><code>{% autoescape false %}
      &lt;p&gt;{{ blog.blog|truncate(2000) }}&lt;/p&gt;
  {% endautoescape %}
  </code></pre>