title: how specify relative image path in ejs (javascriptmvc)
body: <p>I'm trying do simple application with javascriptmvc. </p>
  
  <p>There is several controllers and next folder structure:</p>
  
  <pre><code>/controllerA
    /views
      view1.ejs
      /images
        img1.png
  /controllerB
    /views
      view2.ejs
      /images
        img2.png
  </code></pre>
  
  <p>How do i refer to image in ejs files, so it work correctly in whole project, and in each controller separately (e.g. localhost/myapp/controllerA/controllerA.html)? </p>
  
  <p>ejs look like:</p>
  
  <pre><code>&lt;div class="show-control"&gt;
    &lt;img src="images/img1.png" alt="Show"/&gt;
    &lt;div class="count"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>