title: Add static image to django
body: <p><strong>Updated</strong>  my folder structure is as below:
      After run manage.py collectstatic coomand, the django's static files are copied to my project folder as below, then i put my logo.png to its img/</p>
  
  <pre><code> mysite_new/
  
        manage.py
        mysite/
        ------ __init__.py
               urls.py
               setting.py
               wsgi.py
               templates/
                        default.html
               static/
                       img/
                            logo.png
                            .....
        ticket/
        ------__init__.py
              models.py
              view.py
              urls.py
              ......
  </code></pre>
  
  <p>In setting.py, i set  </p>
  
  <pre><code>PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
  MEDIA_URL = ''
  MEDIA_ROOT = ''
  STATIC_URL = '/static/'
  STATIC_ROOT = os.path.join(PROJECT_PATH,'static')
  STATICFILES_DIRS = (
  )
  STATICFILES_FINDERS = (
      'django.contrib.staticfiles.finders.FileSystemFinder',
      'django.contrib.staticfiles.finders.AppDirectoriesFinder',
  )
  </code></pre>
  
  <p>and in mysite/urls.py i set   </p>
  
  <pre><code>        urlpatterns = patterns('',
      url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^hello/', hello),
      url(r'^static/(?P&lt;path&gt;.*)$', 'django.views.static.serve',{'document_root': settings.MEDIA_ROOT },name="media"),
  
  
  
  )
  </code></pre>
  
  <h1>default.html</h1>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset=utf-8&gt;
  &lt;title&gt;staitc sample&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;img src="{{ STATIC_URL }}img/logo.png"" alt="hahhaa"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>In ticket/view.py</p>
  
  <pre><code>def hello(request):
       return render_to_response( 'admin/default.html')
  </code></pre>
  
  <p>Then in web browser, in input <code>http://127.0.0.1:8000/hello</code>, it show <img src="https://i.stack.imgur.com/FGT3Q.jpg" alt="enter image description here"></p>
  
  <p>Then i load the image from the “hahhaa", it link to 
  <img src="https://i.stack.imgur.com/0Zh1l.jpg" alt="enter image description here"></p>
  
  <p>No picture shown, so maybe the image path is incorrect and the image is not loaded successfull.
    Who can help me to make thie image picture show in my hello method of view.py ?
    This question confused me for a long time, thanks for your help in advance.
    My django version is 1.4.</p>
  
  <p>I have already found the solution, no need to move my static folder, just keep it the same level with ticket/ , and then add ADMIN_MEDIA_PREFIX = '/static/admin/' in setting.py</p>