Remove image uploading in posts

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?)

1 Like

Untested, but

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

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

2 Likes

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.

3 Likes

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

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.

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