Daniel 2025-07-09 20:35:52 +08:00
parent 31f5797176
commit 9933cd98ec
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 12 additions and 1 deletions

View file

@ -201,7 +201,10 @@ func fillAttributeViewGalleryCardCover(attrView *av.AttributeView, view *av.View
break
}
galleryCard.CoverURL = assetValue.MAsset[0].Content
p := assetValue.MAsset[0].Content
if util.IsAssetsImage(p) {
galleryCard.CoverURL = p
}
return
case av.CoverFromContentBlock:
blockValue := getBlockValue(cardValues)