title: Relative path for images
body: <p>I have a problem with images path stored in database.</p>
  
  <p>I have a joomla website with article, and in the content there are images path.</p>
  
  <p>I imported the joomla database in my symfony project, everything is fine except the path of the images.</p>
  
  <p>Since the path are in my content and stored like this:</p>
  
  <pre><code>&lt;p&gt;this is my image&lt;img src="images/myimg.png"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>I can't use <code>{{ asset('images/myimg.png") }}</code>. The problem is that these are relative paths, for example I put my images in <code>/web/images</code>.<br>
  When I am in the frontpage of my blog (the url is mydomain.com/news) it works like a charm, I see all the images, but when I am inside an article, (url like this : mydomain.com/news/article/id) it doesn't work cause symfony change the path of the url to mydomain.com/news/article/images/myimg.png and it doesn't work.</p>