Promo-tab 的徽标尺寸是多少?
What is the size of logo for Promo-tab?
我正在寻找适合 Gmail 促销标签徽标的尺寸。
出于某种原因,我使用的徽标在 android 上运行良好,但在 iPhone 上它被放大了。
iPhone 上的徽标示例:
Android 上的徽标示例:
答案:
虽然 Google 没有推荐的促销标签徽标尺寸规范,但他们的所有示例都使用 48x48 像素的徽标。
更多信息:
“促销”选项卡的所有最佳做法都在 Best Practices 页面上提供。对于徽标,他们只指定协议而不指定图像大小:
Logo URL
Be sure to use an https (not http) URL. This logo selection only shows in the email preview.
但是,通过查看Google给出的示例,您可以看到每个示例都使用this个示例图像,大小为48x48px:
来自 Get started 页面:
// WARNING: Before sending email, either point the logo
// at your own image or delete the logo annotation.
//
// If showing a logo, we recommend using an https URL.
// It's not a requirement today, but may be in the future.
"logo": "https://www.gstatic.com/images/branding/product/1x/googleg_48dp.png"
来自 Troubleshooting 页面:
<div itemscope itemtype="http://schema.org/Organization">
<meta itemprop="logo" content="https://www.gstatic.com/images/branding/product/1x/googleg_48dp.png" />
</div>
和:
{
"@context": "http://schema.org/",
"@type": "PromotionCard",
"logo": "https://www.gstatic.com/images/branding/product/1x/googleg_48dp.png"
}
因此,可以安全地假设一个 48x48 大小的 PNG 格式的徽标对于“促销”选项卡徽标就足够了。
参考文献:
我正在寻找适合 Gmail 促销标签徽标的尺寸。 出于某种原因,我使用的徽标在 android 上运行良好,但在 iPhone 上它被放大了。
iPhone 上的徽标示例:
Android 上的徽标示例:
答案:
虽然 Google 没有推荐的促销标签徽标尺寸规范,但他们的所有示例都使用 48x48 像素的徽标。
更多信息:
“促销”选项卡的所有最佳做法都在 Best Practices 页面上提供。对于徽标,他们只指定协议而不指定图像大小:
Logo URL
Be sure to use an https (not http) URL. This logo selection only shows in the email preview.
但是,通过查看Google给出的示例,您可以看到每个示例都使用this个示例图像,大小为48x48px:
来自 Get started 页面:
// WARNING: Before sending email, either point the logo
// at your own image or delete the logo annotation.
//
// If showing a logo, we recommend using an https URL.
// It's not a requirement today, but may be in the future.
"logo": "https://www.gstatic.com/images/branding/product/1x/googleg_48dp.png"
来自 Troubleshooting 页面:
<div itemscope itemtype="http://schema.org/Organization">
<meta itemprop="logo" content="https://www.gstatic.com/images/branding/product/1x/googleg_48dp.png" />
</div>
和:
{
"@context": "http://schema.org/",
"@type": "PromotionCard",
"logo": "https://www.gstatic.com/images/branding/product/1x/googleg_48dp.png"
}
因此,可以安全地假设一个 48x48 大小的 PNG 格式的徽标对于“促销”选项卡徽标就足够了。