title: dynamic img src with concatenation into vue.js
body: <p>I would like to display image html with vue.js framework which URL contain one absolute path and another relative path depends on object.</p>
  
  <p>I try 2 things with strange behaviour :</p>
  
  <p><strong>first</strong></p>
  
  <p><em>declare this :</em></p>
  
  <pre><code>&lt;img src="../assets/items/public/jeune.png" height="50" width="50" alt="logo"&gt;&lt;/img&gt;
  </code></pre>
  
  <p><em>and render that :</em></p>
  
  <pre><code>&lt;img src="imgs/jeune--public.png" height="50" width="50" alt="logo"&gt;
  </code></pre>
  
  <p>The display result is good it display correctly my image</p>
  
  <p><strong>second</strong></p>
  
  <pre><code>imgPreUrl: '../assets/'
  objPublicSelected.logo = items/public/jeune.png
  </code></pre>
  
  <p><em>declare this :</em> </p>
  
  <pre><code>&lt;img :src="imgPreUrl + objPublicSelected.logo" height="50" width="50" alt="logo"&gt;&lt;/img&gt;
  </code></pre>
  
  <p><em>and render that :</em> </p>
  
  <pre><code>&lt;img src="../assets/items/public/jeune.png" height="50" width="50" alt="logo"&gt;
  </code></pre>
  
  <p>The display result is bad it display nothing image. But strangely the url is good and the same that first declaration example.</p>
  
  <p><strong>others presentation</strong></p>
  
  <p><em>the two delcaration :</em></p>
  
  <p><a href="https://i.stack.imgur.com/as3O6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/as3O6.png" alt="enter image description here"></a></p>
  
  <p><em>the two generated html :</em></p>
  
  <p><a href="https://i.stack.imgur.com/jh0k3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jh0k3.png" alt="enter image description here"></a></p>
  
  <p><em>the two display :</em></p>
  
  <p><a href="https://i.stack.imgur.com/32W8P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/32W8P.png" alt="enter image description here"></a></p>
  
  <p>All others questions into StackOverflow dealing with no using of brackets but not this exact case.</p>
  
  <p><em>I don't understand why it doesn't not display image and how I can do that</em></p>