diff --git a/backend/movies/movies.go b/backend/movies/movies.go index 6a04234..5639c85 100644 --- a/backend/movies/movies.go +++ b/backend/movies/movies.go @@ -245,8 +245,7 @@ func (m *Movie) imgFile() string { func (m *Movie) PosterURL() string { // Check if the movie image exists if _, err := os.Stat(m.imgFile()); os.IsNotExist(err) { - // TODO image in the config ? - return m.imgURLPrefix + "noimage.png" + return "" } return m.imgURLPrefix + m.imgURL() } diff --git a/backend/shows/shows.go b/backend/shows/shows.go index 09f0ee2..6393476 100644 --- a/backend/shows/shows.go +++ b/backend/shows/shows.go @@ -154,8 +154,7 @@ func (s *Show) Refresh(env *web.Env, detailers []polochon.Detailer) error { func (s *Show) GetImageURL(imgType string) string { // Check if the show image exists if _, err := os.Stat(s.imgFile(imgType)); os.IsNotExist(err) { - // TODO image in the config ? - return s.imgURLPrefix + "noimage.png" + return "" } return s.imgURLPrefix + s.imgURL(imgType) } diff --git a/frontend/index.html b/frontend/index.html index 30486c5..7e9610d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,18 +5,17 @@ - - - + "> + " sizes="32x32"> + " sizes="16x16"> - + " color="#5bbad5">