【问题标题】:What is the size of logo for Promo-tab?促销标签的徽标大小是多少?
【发布时间】:2020-10-12 17:01:37
【问题描述】:

我正在寻找适合 Gmail 促销标签的徽标大小。 出于某种原因,我使用的徽标在 android 上运行良好,但在 iPhone 上它被放大了。

iPhone 上的标志示例:

Android 上的标志示例:

【问题讨论】:

    标签: google-cloud-platform gmail gmail-promo-tab


    【解决方案1】:

    答案:

    虽然 Google 没有推荐的“促销”标签徽标的大小规格,但他们的所有示例都使用 48x48 像素的徽标。

    更多信息:

    “促销”标签的所有最佳做法都在Best Practices 页面上提供。对于徽标,他们只指定协议而不是图像大小:

    徽标网址

    请务必使用 https(不是 http)网址。此徽标选择仅显示在电子邮件预览中。

    但是,通过查看 Google 提供的示例,您可以看到每个示例都使用了 this 示例图像,大小为 48x48 像素:

    来自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 格式的徽标足以用于促销标签徽标。

    参考资料:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多