Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于我的一些og: meta标签,我使用的图像比宽度高得多——1920 像素高 x 1280 像素宽。这会产生一个小缩略图,而不是一张横跨整张卡片的图像。
og: meta
除了将照片裁剪为 1.91 比 1 的比例之外,我还能做些什么来强制 Facebook 调试器“自动裁剪”这张图片,以便它利用整个卡片空间?会og:image:width并且og:image:height能够提供帮助,还是其他什么?还是裁剪是这里唯一的选择?
og:image:width
og:image:height
会og:image:width并且og:image:height能够提供帮助,还是其他什么?还是裁剪是这里唯一的选择?
裁剪是唯一的选择。
og:image:width并且og:image:height仅用于告诉刮板图像的实际尺寸,以便在第一次共享的上下文中可以更快地为用户呈现预览;它们不能用于调整图像大小或裁剪图像。