On Fri, Sep 11, 2009 at 8:26 PM, Jordon Wii <[email protected]> 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 [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-users?hl=en -~----------~----~----~----~------~----~------~--~---

