only publish twitter card data if asset is an image