List Info

Thread: Images Won't Include




Images Won't Include
user name
2007-01-28 19:04:43
When I try to include an image like I would in any other
website, the
 image does not display.  How do I configure the urls to
treat an 
image
 like an image so they can be displayed?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Images Won't Include
user name
2007-01-28 20:53:34
On 1/28/07, NathanWithAnN <Nate.Radebaughgmail.com> wrote:
> When I try to include an image like I would in any
other website, the
>  image does not display.  How do I configure the urls
to treat an
> image
>  like an image so they can be displayed?

If you're using Apache and mod_python, then for performance
reasons
it's recommended that you serve images and other
"media" files like
JavaScript and stylesheets from a separate web server
instance; for
example, the Journal-World's website at http://www.ljworld.com/
serves
all its images and other media from http://media.ljworld.com/.


Under FastCGI, use URL rewriting (varies depending on the
web server)
to either route requests to the Django FastCGI processes
when Django
needs to process and serve a page, or to static files on
disk when the
request is for an image or other media file.

-- 
"Bureaucrat Conrad, you are technically correct -- the
best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )