Add placeholder thumbnail on image error

This commit is contained in:
Alan Grainger
2026-02-23 16:56:36 +13:00
parent ad7c0000ef
commit ec283b4bd9
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -30,6 +30,20 @@ html {
object-position: center;
}
}
@media (min-width: 801px) {
#lightgallery a.thumb-error {
width: 250px;
height: 250px;
margin: 4px;
}
}
#lightgallery a.thumb-error {
background: #2a2a2a;
}
#lightgallery a.thumb-error img {
display: none;
}
.play-icon {
position: absolute;