title: Django Image trouble broken link in template
body: <p>All,</p>
  
  <p>I've started this question (http://stackoverflow.com/questions/5016864/include-image-files-in-django-templates-shows-broken-link) with several helpful anserws but somehow this still doesn't resolve my trouble. 
  Therefore i try posting my code and hopefully someone is able to tell me whats going wrong.. 
  I seem to miss something but don't see what:</p>
  
  <p>in settings.py :</p>
  
  <p>MEDIA_ROOT = <code>'C:/Users/Tijl/Documents/Programming/Dashboard/src/DashboardDesign/FigureOnWebSite/templates/images/static'</code></p>
  
  <p>MEDIA_URL = <code>'http://localhost:8000/static/'</code></p>
  
  <p>In urls.py:</p>
  
  <pre><code>(r'^Point3D/graphics/$', 'FigureOnWebSite.views.graphics'),
      (r'^static/(?P&lt;path&gt;.*)$', 'django.views.static.serve',
                       {'document_root': settings.MEDIA_ROOT}),
  </code></pre>
  
  <p>in views.py:</p>
  
  <pre><code>&gt; def graphics(request):
  &gt;     laptop = "laptop.jpg"
  &gt;     t = loader.get_template('FigureOnWebSite/templates/Figure.html')
  &gt;     c = Context({'picture': laptop})
  &gt;     return HttpResponse(t.render(c))
  </code></pre>
  
  <p>in my Figure.htm;</p>
  
  <pre><code>&lt;img src"{{picture}}" alt = "picture"/&gt;
  </code></pre>
  
  <p>it shows a broken link image and if i right click i can see the right source but still isn't displaying it the link is:</p>
  
  <pre><code>http://127.0.0.1:8000/Point3D/graphics/
  </code></pre>
  
  <p>the location of the file is in:
  C:\Users\Tijl\Documents\Programming\Dashboard\src\DashboardDesign\FigureOnWebSite\templates\images</p>
  
  <p>If I change Figure.html to;</p>
  
  <p><code>{{picture}}</code> </p>
  
  <p>it shows <strong>laptop.txt</strong> on <code>http://127.0.0.1:8000/Point3D/graphics/</code></p>
  
  <p>Hopefully the above is enough for someone to help me out.</p>
  
  <p>Thanks alot!
  Tijl</p>