title: save sonata media path into twig variable
body: <p>I want to store full path of image (sonata media bundle) into variable in twig. Is that possible?</p>
  
  <p>If I write:</p>
  
  <pre><code>{% set pic = path item.image, 'big' %}
  </code></pre>
  
  <p>it throws me an error: Unexpected token "name" of value "item" ("end of statement block" expected) ...</p>
  
  <p>If I write:</p>
  
  <pre><code>{% set pic = item.image %}
  </code></pre>
  
  <p>then it works, but it stores only name of the file, not full path.</p>