引用内部主题时缩略图不再显示

Thinking this might have something to do with my own whitelisting instead of a bug, which is why I’m posting in support

When posting the link to a post on our forums, we used to get nice thumbnail images inline with the post preview. Now, we get a [00002]-like string of linked text instead of the nice thumbnails. Is there some whitelisting I need to do to get this working with thumbnail images?

How it used to look :cat:

How our instance currently renders the URL: https://forums.tumult.com/t/hype-globalbehavior-custom-behavior-extension/12561 :

We are on version 2.0.3.

We amended it so internal and external oneboxes render using a different engines:

^^^ external onebox

https://meta.discourse.org/t/image-cropping-to-200x200/95744?u=sam

https://meta.discourse.org/t/image-cropping-to-200x200/95744/3?u=sam

^^^ internal onebox

This is not configurable at the moment, but I do think we are losing out a bit on the “Topic” onebox for internal topics cause we don’t get reading time or number of likes… I wonder if we should revisit adding a tiny bit more meta data for internal topic oneboxes.

Glad to hear you’re considering reverting back. Something like this would be nice for internal oneboxing, where you remove the Forum Title and inline the support category after the title:

A relative date of the post might be nice after “Reading time: 3 mins :clock2:” but not necessary.

I would be quite opposed to this, so unlikely to happen. The needs of external linkers and internal linkers are rather different.

Hey Jeff,

about the this topic. I see that handling internal links differently has it’s appeal with in place expanding but why is the internal link preview not loading the image. And if this is intentional couldn’t that be an option for the admin to decide? I mean the following

(1) Image previews not rendered in collapsed preview of the internal link
(2) Here is a href in the original post and it’s clickable in the collapsed preview of the internal link. It was linking to a broken destination. So if one clicks it one get’s a 404. So I fixed it in the original post. The collapsed preview keeps linking to to broken link meaning it is cache and not updated if it’s out of sync with the oirginal post.

When expanding the internal link the "fresher version is loaded and images and links are displayed and updated.

So this is a plea to offer maybe some options to admins if they want images to expand or even if they want internal and external links to be treated differently at all. And also a bug report.

Best regards from cold Berlin (and big fan of this software!)

距离上次提问已经过去一年了。有什么更新或新的想法吗?这是否会成为一个配置选项,或者已经是了?致以问候,Max

自定义内部 onebox 的工作方式需要插件支持。目前,对此抱怨的人数还不足以让我们有理由添加一个切换开关。

如果 oneboxer(即 (2))存在特定 bug,请在 try 等平台上创建一个复现示例,粘贴问题文本,并创建一个专门的主题。

谢谢回复。我会研究一下插件。刚才我在想,是否可以忽略内部和外部 one boxes 的区别,始终将它们作为外部 one boxes 来读取?!拥有缩略图功能真的很棒。