Show meta-data as image title
This commit is contained in:
parent
a4501d5cb5
commit
5f80082567
2 changed files with 4 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ viewThumbnail : String -> Photo -> Html Message
|
|||
viewThumbnail selectedUrl thumb =
|
||||
img
|
||||
[ src (urlPrefix ++ thumb.url)
|
||||
, title (thumb.title ++ " [" ++ String.fromInt thumb.size ++ " KB]")
|
||||
, classList [ ( "selected", selectedUrl == thumb.url ) ]
|
||||
, onClick (ClickedThumbnail thumb.url)
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue