如何解决促销标签的徽标大小是多少? 答案:更多信息:徽标URL 参考文献:
我正在为Gmail的“促销”标签找到合适的徽标尺寸。 出于某种原因,我使用的徽标在android上效果很好,但在iPhone上已放大。
iPhone上的徽标示例:
Android上的徽标示例:
谢谢!
解决方法
答案:
虽然没有建议的Google的“促销”标签徽标大小规格,但所有示例均使用48x48px徽标。
更多信息:
“促销”标签的所有最佳做法在Best Practices页上给出。对于徽标,它们仅指定协议而不是图像大小:
徽标URL
请确保使用https(而非http)URL。此徽标选择仅显示在电子邮件预览中。
通过查看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"
}
因此,可以安全地假定,PNG格式的48x48大小的徽标足以用作“促销”标签的徽标。
我希望这对您有帮助!
参考文献:
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。