# Remove image uploading in posts

**URL:** https://meta.discourse.org/t/remove-image-uploading-in-posts/23743
**Category:** Support
**Created:** [2015年一月7日 16:16 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743 "2015-01-07T16:16:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Lala\_Calamari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lala_calamari/32/115415_2.png) [@Lala\_Calamari](https://meta.discourse.org/u/Lala_Calamari)
#### Post date: [2015年一月7日 16:16 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743/1 "2015-01-07T16:16:24Z")

</div>

Is there a way to remove the upload option for images? We didn’t want to “host” images on our forums. We’d rather the end users just put the image link in.

If this isn’t an option, is there a way to hide the image upload button? (CSS?)

---

<div class="post-metadata">

### Author: ![frbn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frbn/32/115375_2.png) [@frbn](https://meta.discourse.org/u/frbn)
#### Post date: [2015年一月7日 16:52 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743/2 "2015-01-07T16:52:51Z")

</div>

Untested, but

```
#wmd-image-button {
  display: none;
}

```

should do the trick, if just hiding the button is sufficient for you.

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [2015年一月7日 17:00 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743/3 "2015-01-07T17:00:47Z")

</div>

That will not completely work, because someone can Ctrl + V a link or an actual image from their clipboard and it will still save a copy onto the local server.

---

<div class="post-metadata">

### Author: ![frbn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frbn/32/115375_2.png) [@frbn](https://meta.discourse.org/u/frbn)
#### Post date: [2015年一月7日 17:01 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743/4 "2015-01-07T17:01:40Z")

</div>

Oh, right. I forgot about that feature. Then it would seem it’s more than just a CSS issue.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [2015年一月7日 23:21 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743/6 "2015-01-07T23:21:02Z")

</div>

Go to your site settings, and change `max image size kb` and `max attachment size kb` to 0, or clear out `authorized extensions`.

**Both of those will disable uploading custom avatars, however.**

---

<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: [2015年一月8日 00:21 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743/7 "2015-01-08T00:21:08Z")

</div>

As a workaround you could set the max image sizes to something closer to typical avatar levels, e.g. 200 x 200?

---

<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: [2018年八月29日 05:33 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743/8 "2018-08-29T05:33:35Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018年八月29日 06:04 UTC](https://meta.discourse.org/t/remove-image-uploading-in-posts/23743/9 "2018-08-29T06:04:18Z")

</div>


