On Fri, 2006-05-19 at 03:00 +0000, wegen wrote:
> thanks for letting me know about the issue you had before, malcolm.
> 
> i'm using the development server as you suspected, however,
> changing the value of the ADMIN_MEDIA_PREFIX does not seem to fix the
> problem.
> 
> rather than asking you to what to do in order to solve this specific
> problem,
> i'd like you to clarify the some ImageField-related things that keep
> confusing me, if possible.

This thread is starting to get more and more off-track for
django-developers. It would probably be a good idea to move any
follow-ups to the django-users list, since there will be more people
there who may have hit the same problems you have.

> 1. do we need to make any changes to the URL file (i.e. urls.py)?

Yes. I assumed you had already done this. Sorry 'bout that. Have a read
of this page for the information you need:
http://www.djangoproject.com/documentation/static_files/

This is almost certainly what is stopping you if you have omitted this
step.

> 2. if your page is supposed to have images in it, then do we need to
> manually set the content-type of the page so that images will be
> displayed properly?

No. The page will still be text/html or whatever. The images themselves
will have the right content type set in their headers when the webserver
sends them. Your web page does not actually include any images,
remember, it just includes links to the images. The client's web browser
is responsible for actually fetching the data at the other end of those
links and displaying it.

Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to