Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved issue with using placeholder service #117

Merged
merged 1 commit into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/static/thumbnail_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Components/PlayerRow.elm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ view layoutType =
[ case layoutType.currentlyPlaying.currentlyPlaying of
Nothing ->
image [ alignLeft, width fill, height fill ]
{ src = "https://via.placeholder.com/70"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down
2 changes: 1 addition & 1 deletion src/Components/RightSidebar.elm
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ audioTab currentlyPlaying playing =
True ->
Element.image [ alignRight, height (px 30), width (px 30), alignLeft, paddingXY 20 0 ]
{ description = ""
, src = "wave.gif"
, src = "/wave.gif"
}

False ->
Expand Down
4 changes: 2 additions & 2 deletions src/Components/SectionHeader.elm
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ viewArtists buttonMsg artist =
[ case artist.thumbnail of
"" ->
image [ width fill, height (px 150) ]
{ src = "https://via.placeholder.com/170"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down Expand Up @@ -139,7 +139,7 @@ viewVideos buttonMsg video =
[ case video.thumbnail of
"" ->
image [ width fill, height (px 125) ]
{ src = "https://via.placeholder.com/170"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Movies.elm
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ constructMovieItem movie =
-}
]
(if String.isEmpty movie.thumbnail then
{ src = "https://via.placeholder.com/70"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Movies/Recent.elm
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ constructMovieItem movie =
-}
]
(if String.isEmpty movie.thumbnail then
{ src = "https://via.placeholder.com/70"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down
4 changes: 2 additions & 2 deletions src/Pages/Music/Artist/Artistid_Int.elm
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ view model =
[ case album.thumbnail of
"" ->
image [ Element.width (fillPortion 1), Element.height fill ]
{ src = "https://via.placeholder.com/170"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand All @@ -191,7 +191,7 @@ view model =
[ case song.thumbnail of
"" ->
image [ Element.width (px 35), Element.height (px 35) ]
{ src = "https://via.placeholder.com/170x170"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Music/Genre/Genre_String.elm
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ view model =
[ case song.thumbnail of
"" ->
image [ Element.width (px 35), Element.height (px 35) ]
{ src = "https://via.placeholder.com/170x170"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Music/Top/Top.elm
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ view model =
[ case song.thumbnail of
"" ->
image [ Element.width (px 35), Element.height (px 35) ]
{ src = "https://via.placeholder.com/170x170"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Tvshows.elm
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ constructTvshowItem tvshow =
-}
]
(if String.isEmpty tvshow.thumbnail then
{ src = "https://via.placeholder.com/70"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Tvshows/Recent.elm
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ constructTvshowItem tvshow =
-}
]
(if String.isEmpty tvshow.thumbnail then
{ src = "https://via.placeholder.com/70"
{ src = "/thumbnail_default.png"
, description = "Hero Image"
}

Expand Down