On Fri, Sep 11, 2009 at 8:26 PM, Jordon Wii <jordon...@gmail.com> wrote: > How can return a specific image when there is a 404 error for an image on a > path?
Don't make it harder then it needs to be. Don't let it get all the way to a 404. If they upload the image, you likely have the name of the file in your database. Put a little IF statement in your templates. If you find the name of the image in the db/context, serve it up. If you don't find it, server up your default/placeholder image. Does that not work? Gabe --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---