0

I have a website that sometimes points to images either locally or externally which do not exist. When displayed in the template they simply show no photo which looks bad. It would be ideal to completely hide the object in question if the image src is invalid.

Does anybody know how to accomplish this with Django. Or is there a better option out there?

Chris Hawkes
  • 11,923
  • 6
  • 58
  • 68

0 Answers0