本文介绍了Tumblr 主题 - 显示“链接"的预览图像帖子类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您向 Tumblr 添加链接"类型的帖子时:

When you add a "link" type post to Tumblr:

...您的管理员会显示与该链接关联的任何图像的小缩略图:

...your admin shows a small thumbnail of any image associated with that link:

但是,这不会显示在网站的前端:

However, this doesn't show on the frontend of the site:

有没有办法把这张图片拉过去?

Is there any way to pull this image through?

推荐答案

Tumblr Link Theme Operator and Thumbnail

Tumblr 最近添加了一些新的主题运算符以允许链接缩略图.

Tumblr Link Theme Operator and Thumbnail

Tumblr recently added some new theme operators to allow for link thumbnails.

我认为这与视频缩略图的工作原理相同,并且只有在链接站点创建缩略图时才可用.

I presume this works the same as video thumbnails work and may only be available if the linked site creates the thumbnail.

{block:Link}
{block:Thumbnail}
<img src="{Thumbnail}" alt="{Name}">
{/block:Thumbnail}
{/block:Link}

参考:http://www.tumblr.com/docs/en/custom_themes#link-posts

这篇关于Tumblr 主题 - 显示“链接"的预览图像帖子类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 05:47