Add custom placeholder

This commit is contained in:
Mathias DUPEUX 2024-09-18 20:01:09 +02:00
parent a0a5c688d3
commit d72f14ba00
2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,8 @@ class Movie:
try: try:
self.affiche = data["poster"]["url"] self.affiche = data["poster"]["url"]
except: except:
self.affiche = "https://upload.wikimedia.org/wikipedia/commons/a/a3/Image-not-found.png" #TODO: Remplacer par une joli image qui fait 1067x1600 self.affiche = "/static/images/nocontent.png"
self.cast = [] self.cast = []
# Noms des acteurs # Noms des acteurs

BIN
static/images/nocontent.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB