In production environments, you need to use something like Apache or
Lighttpd (sp?) to serve media--it's not something you should be doing
directly through Django.

Check the URL for your image and compare it to MEDIA_URL in your
settings.py file (plus anything you're adding through
upload_to='some/path'.

EV

On Tue, Apr 15, 2008 at 2:19 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>  The error I get is the white box with the red X which means it can't
>  find the image.
>
>
>
>  On Apr 15, 1:39 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
>  > On Apr 15, 12:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>  >
>  > > I have searched high and low to make it possible for me to display an
>  > > image via Django in an html template and it fail bombs so hard.
>  >
>  > Can you put that in developer-friendly terms? :)
>  >
>  > - What error do you get? Is here an error trace you can share?
>  > - What's your template code excerpt that's supposed to create the HMTL
>  > img tag?
>  >
>  > -Rajesh D
>  >
>



-- 
portfolio: http://textivism.com/
blog: http://erikanderica.org/erik/

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

Reply via email to