title: Zend_framework - relative paths of images
body: <p>When i am developing a web application on Zend_framework (php) i have to include images (css files, js files, etc). </p>
  
  <p>The solution for inclusion was to specify the absolute paths each time i needed an image (i was storing in "global like" parameter with my host and concatenated it with the relative path of the image on the host). As i understand this solution is overpriced (for each picture to go the DNS service and so on) and i am looking for a simpler solution to the relative path problem. </p>
  
  <p>P.S. The problem can be better described in the following example: when I am going to "<a href="http://myhost.com/" rel="nofollow noreferrer">http://myhost.com/</a>" the images will be shown normally (the image path was: "./images/logo.jpg"). but it won't be seen from the "<a href="http://myhost.com/users/" rel="nofollow noreferrer">http://myhost.com/users/</a>" url (to make it seen i had to change to image path to : "./../images/logo.jpg".</p>
  
  <p>Id anybody knows how i can solve this problem, i will be glad to hear.</p>
  
  <p>Gorelik.</p>