title: Where does flask look for image files?
body: <p>I am setting up a local server using flask. All I want to do currently is display an image using the img tag in the index.html page. But I keep getting <strong>error</strong> </p>
  
  <pre><code>GET http://localhost:5000/
  ayrton_senna_movie_wallpaper_by_bashgfx-d4cm6x6.jpg 404 (NOT FOUND)  
  </code></pre>
  
  <p>Where does flask look for files? A Little help would be great.
  My HTML code is </p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
  
    &lt;/head&gt;
    &lt;body&gt;
      &lt;h1&gt;Hi Lionel Messi&lt;/h1&gt;
  
    &lt;img src= "ayrton_senna_movie_wallpaper_by_bashgfx-d4cm6x6.jpg "&gt;
  
    &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>My python code is :</p>
  
  <pre><code>@app.route('/index', methods=['GET', 'POST'])
  def lionel(): 
      return app.send_static_file('index.html')
  </code></pre>