# Disable link preview feature?

**URL:** https://meta.discourse.org/t/disable-link-preview-feature/118808
**Category:** Support
**Created:** [May 27, 2019, 7:16pm UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808 "2019-05-27T19:16:33Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@Laurent](https://meta.discourse.org/u/Laurent)
#### Post date: [May 27, 2019, 7:16pm UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/1 "2019-05-27T19:16:33Z")

</div>

Link previews are more often wrong than right, often showing content unrelated to the URL (not Discourse fault, I know it’s very hard to sum up the content of a web page).

Also I think it gives too much weight to the URL - a link is usually for extra info, while with this feature that link often takes 95% of the post space, which is not only unnecessary, but also illogical. What’s important is the text content on the forum, not the content on another linked website.

As an example, a link to a GitHub page includes the owner’s avatar, which is irrelevant. If you link to a release, it won’t show the text of the release, but the “about” summary of the GitHub repo, which is also not relevant. This is true of many websites actually (noticed it with Patreon articles too) - the “summary” is often related to the entire website, not to the specific page.

So since, in my opinion, this feature doesn’t work so well, I would like to disable it at admin level for the entire website. Is there currently an option for this? I couldn’t find one, but I might have missed it.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 27, 2019, 7:19pm UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/2 "2019-05-27T19:19:33Z")

</div>

Add a space in front of the link if you do not want a onebox.

Also can you provide examples of where the onebox is “wrong”? I don’t agree with your general rationale here and I need to see specifics.

---

<div class="post-metadata">

### Author: ![Laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@Laurent](https://meta.discourse.org/u/Laurent)
#### Post date: [May 27, 2019, 7:27pm UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/3 "2019-05-27T19:27:05Z")

</div>

> [@codinghorror](#):
>
> Add a space in front of the link if you do not want a onebox.

Yes I came across this trick, but I’d rather disable it for the whole forum if possible.

> [@codinghorror](#):
>
> Also can you provide examples of where the onebox is “wrong”? I don’t agree with your general rationale here and I need to see specifics.

One example is this one: [Joplin 1.0.157 - Links of notes between notes broken - #6 by laurent - Support - Joplin Forum](https://discourse.joplinapp.org/t/joplin-1-0-157-links-of-notes-between-notes-broken/2485/6?u=laurent)

I link to a GitHub release but it shows unrelated text and my unrelated avatar.

I’m not so keen on the Patreon links either: [Note history feature now in Joplin - News - Joplin Forum](https://discourse.joplinapp.org/t/note-history-feature-now-in-joplin/2469?u=laurent)

It’s better, but about 50% of the box doesn’t matter: the image is off-topic, and the text that matters only starts towards the bottom - “The latest versions of Joplin adds support…”. It’s probably tricky to improve this, which is why I’m fine with not having the previews at all.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 27, 2019, 7:45pm UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/4 "2019-05-27T19:45:48Z")

</div>

If it is a global improvement to oneboxes for a popular major site that is usually preferable.

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [May 27, 2019, 7:48pm UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/5 "2019-05-27T19:48:10Z")

</div>

> [@Laurent](#):
>
> One example is this one: [Joplin 1.0.157 - Links of notes between notes broken - Support - Joplin Forum](https://discourse.joplinapp.org/t/joplin-1-0-157-links-of-notes-between-notes-broken/2485/6?u=laurent)

This is something to bring up with Github. They can improve this by adding the appropriate metadata on the release page.

Instead of disabling it globally, why not work with it? Consider the following options:

* * *

This is fixed in [Joplin release v1.0.158](https://github.com/laurent22/joplin/releases/tag/v1.0.158)

```plaintext
This is fixed in [Joplin release v1.0.158](https://github.com/laurent22/joplin/releases/tag/v1.0.158)

```

* * *

Or @codinghorror’s suggestion (below)? Much nicer than a bare link.

* * *

[Release v1.0.158 · laurent22/joplin · GitHub](https://github.com/laurent22/joplin/releases/tag/v1.0.158)

This is fixed in [Release v1.0.158 · laurent22/joplin · GitHub](https://github.com/laurent22/joplin/releases/tag/v1.0.158)

```plaintext
 https://github.com/laurent22/joplin/releases/tag/v1.0.158

This is fixed in https://github.com/laurent22/joplin/releases/tag/v1.0.158

```

* * *

If you **really** want to disable it, you already have various settings to control the behaviour:

- `onebox domains blacklist`
- `max oneboxes per post`

---

<div class="post-metadata">

### Author: ![Laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@Laurent](https://meta.discourse.org/u/Laurent)
#### Post date: [October 15, 2019, 9:55am UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/6 "2019-10-15T09:55:41Z")

</div>

I see that the info box for GitHub has been largely improved. Now it shows a proper icon instead of the avatar, also a good summary of the issue as well as the tags, date and other metadata.

Thanks for the great work and for continuously improving Discourse!

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/1/4157fd3338455c8c4a6d829dfe48a354a4b43dd3.png)

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [October 15, 2019, 4:08pm UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/7 "2019-10-15T16:08:32Z")

</div>

@david did some great work here, thanks for the feedback!

I can also recommend his theme component adding live status information:

[https://github.com/davidtaylorhq/github-status-theme](https://github.com/davidtaylorhq/github-status-theme)

for example:

[https://github.com/laurent22/joplin/issues/1988](https://github.com/laurent22/joplin/issues/1988)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 22, 2023, 9:49am UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/8 "2023-06-22T09:49:51Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 22, 2023, 10:34am UTC](https://meta.discourse.org/t/disable-link-preview-feature/118808/9 "2023-06-22T10:34:55Z")

</div>


