# Link-image not shown

**URL:** https://meta.discourse.org/t/link-image-not-shown/312247
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [June 15, 2024, 11:38pm UTC](https://meta.discourse.org/t/link-image-not-shown/312247 "2024-06-15T23:38:01Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![mynoxin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mynoxin/32/432934_2.png) [@mynoxin](https://meta.discourse.org/u/mynoxin)
#### Post date: [June 15, 2024, 11:38pm UTC](https://meta.discourse.org/t/link-image-not-shown/312247/1 "2024-06-15T23:38:01Z")

</div>

Hey folks,

I have two problems:

1. When I post a link, the image of that link is not shown in my post. But it`s shown in the draft of that post. So, what happens here and how can i fix it?

 ![Bildschirmfoto 2024-06-16 um 01.34.23](https://global.discourse-cdn.com/meta/original/4X/5/f/f/5ff7f0c40d2466b3c647be1a4ef524c1ba43c2e7.png)

Thanks and kind regards!

---

<div class="post-metadata">

### Author: ![ufukayyildiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ufukayyildiz/32/217157_2.png) [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)
#### Post date: [June 16, 2024, 12:29am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/2 "2024-06-16T00:29:52Z")

</div>

![Screenshot 2024-06-16 at 03.29.23](https://global.discourse-cdn.com/meta/original/4X/0/d/7/0d7efd53836cd039c8546bf02144f8acefee2708.png)

i tried it on my site. it works. maybe your issue is about CSP.

---

<div class="post-metadata">

### Author: ![ufukayyildiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ufukayyildiz/32/217157_2.png) [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)
#### Post date: [June 16, 2024, 12:30am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/3 "2024-06-16T00:30:35Z")

</div>

try dev console to understand what blocks it.

---

<div class="post-metadata">

### Author: ![mynoxin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mynoxin/32/432934_2.png) [@mynoxin](https://meta.discourse.org/u/mynoxin)
#### Post date: [June 16, 2024, 12:54am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/4 "2024-06-16T00:54:57Z")

</div>

Okay, thats weird. I tried 3 Browsers and changed my connection and it had never been shown here on my devices. Is there a setting in Discourse that affects this? I tried other Websites and it reproduces every time.

---

<div class="post-metadata">

### Author: ![ufukayyildiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ufukayyildiz/32/217157_2.png) [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)
#### Post date: [June 16, 2024, 1:02am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/5 "2024-06-16T01:02:27Z")

</div>

![Screenshot 2024-06-16 at 04.01.55](https://global.discourse-cdn.com/meta/original/4X/b/c/c/bcc833702abf3a00d4574fa80c38256ae54ce2b9.png)

check here. it may help you.

---

<div class="post-metadata">

### Author: ![mynoxin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mynoxin/32/432934_2.png) [@mynoxin](https://meta.discourse.org/u/mynoxin)
#### Post date: [June 16, 2024, 1:32am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/6 "2024-06-16T01:32:38Z")

</div>

No solution, I have the standard-settings. I tried to disable it, but no solution.

---

<div class="post-metadata">

### Author: ![ufukayyildiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ufukayyildiz/32/217157_2.png) [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)
#### Post date: [June 16, 2024, 1:40am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/7 "2024-06-16T01:40:00Z")

</div>

check onebox settings.

> [@Creating rich link previews with Onebox](https://meta.discourse.org/t/create-rich-link-previews-with-onebox/98088):
>
> bookmark This is a guide for creating rich link previews with Onebox in Discourse. It explains how to create Oneboxes, use inline Oneboxing, avoid Oneboxing, use hyperlinks, and handle advanced iFrames. person_raising_hand Required user level: All users Onebox converts your web links into useful preview excerpts that help inform readers about the target before they click through. Summary This guide covers how to: Create Oneboxes Use inline Oneboxing Avoid Oneboxing Use hyperlinks ins…

---

<div class="post-metadata">

### Author: ![mynoxin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mynoxin/32/432934_2.png) [@mynoxin](https://meta.discourse.org/u/mynoxin)
#### Post date: [June 16, 2024, 1:45am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/8 "2024-06-16T01:45:29Z")

</div>

Everything is on default.

 ![Bildschirmfoto 2024-06-16 um 03.44.18](https://global.discourse-cdn.com/meta/original/4X/7/4/c/74cb158a95d4911e358b272b8c905373d5f8c095.png)

do you think it is, because i cannot update my discourse?  
I use version 1.3.1.

---

<div class="post-metadata">

### Author: ![ufukayyildiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ufukayyildiz/32/217157_2.png) [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)
#### Post date: [June 16, 2024, 1:47am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/9 "2024-06-16T01:47:50Z")

</div>

> [@mynoxin](#):
>
> I use version 1.3.1.

not sure main reason is that but i recommend you update your discourse. Yours is very old.

---

<div class="post-metadata">

### Author: ![mynoxin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mynoxin/32/432934_2.png) [@mynoxin](https://meta.discourse.org/u/mynoxin)
#### Post date: [June 16, 2024, 1:50am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/10 "2024-06-16T01:50:43Z")

</div>

I really would like to do, but dont know how.  
When i try, it ends in a 502 Bad Gatewaay, because my chat-plugin seems to be broken. I already tried to disable it and update then, but nothing works. I`m not a developer to understand things like console, commands and so on 😕

---

<div class="post-metadata">

### Author: ![ufukayyildiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ufukayyildiz/32/217157_2.png) [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)
#### Post date: [June 16, 2024, 1:52am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/11 "2024-06-16T01:52:57Z")

</div>

> [@Manually update Discourse and Docker image to latest](https://meta.discourse.org/t/manually-update-discourse-and-docker-image-to-latest/23325):
>
> bookmark This guide provides step-by-step instructions for manually updating Discourse, the Docker container, and the Ubuntu operating system on a self-hosted setup. person_raising_hand Required user level: System Administrator warning SSH access to the server. If you self-host Discourse, you occasionally need to run a manual update via the command line to get the latest security releases and newest libraries. These updates are not picked up in admin/upgrade, which is why you’ll occa…

---

<div class="post-metadata">

### Author: ![mynoxin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mynoxin/32/432934_2.png) [@mynoxin](https://meta.discourse.org/u/mynoxin)
#### Post date: [June 16, 2024, 2:04am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/12 "2024-06-16T02:04:28Z")

</div>

Thanks a lot. I already read that and I am toooooo dumb!  
I don\*t know where to paste this command. When I do it in my terminal, nothing happens. And When I try to Choose another Version of my Discourse on that Server, the Bad Gateway kicks in.

---

<div class="post-metadata">

### Author: ![ufukayyildiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ufukayyildiz/32/217157_2.png) [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)
#### Post date: [June 16, 2024, 2:08am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/13 "2024-06-16T02:08:52Z")

</div>

open your terminal

then paste these one by one.

```plaintext
sudo -s
cd /var/discourse
./launcher rebuild app

```

---

<div class="post-metadata">

### Author: ![mynoxin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mynoxin/32/432934_2.png) [@mynoxin](https://meta.discourse.org/u/mynoxin)
#### Post date: [June 16, 2024, 2:20am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/14 "2024-06-16T02:20:50Z")

</div>

> [@ufukayyildiz](#):
>
> ```plaintext
> sudo -s
> cd /var/discourse
> ./launcher rebuild app
> 
> ```

 ![Screenshot 2024-06-16 at 04.20.34](https://global.discourse-cdn.com/meta/original/4X/4/3/7/437b283f7bd9500b8d85d60445698bc0d5c55cf3.png)

---

<div class="post-metadata">

### Author: ![ufukayyildiz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ufukayyildiz/32/217157_2.png) [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)
#### Post date: [June 16, 2024, 2:22am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/15 "2024-06-16T02:22:32Z")

</div>

so you should find your discourse path.

it is not in /var.

---

<div class="post-metadata">

### Author: ![mynoxin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mynoxin/32/432934_2.png) [@mynoxin](https://meta.discourse.org/u/mynoxin)
#### Post date: [June 16, 2024, 12:12pm UTC](https://meta.discourse.org/t/link-image-not-shown/312247/16 "2024-06-16T12:12:30Z")

</div>

The support Team from my provider fixed the image with the chat-plugin and now it runs on the latest version.  
Image not shown in posted Oneboxes.

---

<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 16, 2024, 9:57pm UTC](https://meta.discourse.org/t/link-image-not-shown/312247/18 "2024-06-16T21:57:53Z")

</div>

This seems to be another issue with your non-standard install. I definitely advise moving over to a [standard install](https://meta.discourse.org/t/142537?silent=true) if you want to avoid these problems.

Otherwise you may need to get assistance from the people who created that one-click image.

---

<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 17, 2024, 8:18am UTC](https://meta.discourse.org/t/link-image-not-shown/312247/19 "2024-06-17T08:18:34Z")

</div>


