Remove image uploading in posts


(Jack Zubyk) #1

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


(Felix R.) #2

Untested, but

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

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


#3

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.


(Felix R.) #4

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


Transition from Listserv (lsoft) to Discourse
(Kane York) #6

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.


(Jeff Atwood) #7

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