title: Python flask jinja image file not found
body: <p>Newbie question.</p>
  
  <p>I am using Flask, a webframe for Python. Flask uses Jinja to render the template.
  I do not know which version of Jinja Flask uses, nor do I know how to retrieve the Jinja version or the Flask version. I use Python version 2.7.</p>
  
  <p>The template contains an image in the css/image directory. This image is visible when viewing the template as a file directly in the Firefox browser.</p>
  
  <p>But not when executing Flask :</p>
  
  <pre><code>from flask import Flask, render_template
  app = Flask(__name__)
  
  @app.route('/hello/')
  @app.route('/hello/&lt;name&gt;')
  def hello(name=None):
      return render_template('Basic.html', name=name)
  
  if __name__ == '__main__':
     app.debug = True
     app.run()
  </code></pre>
  
  <p>The content of HTML file :</p>
  
  <pre><code> &lt;!DOCTYPE HTML&gt;
   &lt;html&gt;
      &lt;body&gt; 
  
        &lt;!-- variable example begin --&gt;
        {% if name %}
          &lt;h1&gt;Hello {{ name }}!&lt;/h1&gt;
        {% else %}
          &lt;h1&gt;Hello World!&lt;/h1&gt;
        {% endif %}
  
        &lt;!-- variable example end --&gt;
  
       &lt;img src="css/images/icons/resultset_previous.png" width="16" height="16" alt="previous" title="Previous" border="0"&gt;
  
     &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>The template run fine and variable example runs as expected. But the images is not displayed.
  Debug returns :
  "GET /hello/css/images/icons/resultset_previous.png HTTP/1.1" 404 -</p>
  
  <p>I run Flask in VirtualEnv as suggested in the documentation.
  The path to the image seems to be unknown. How can I set the path?</p>