HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

How can I disable uploading images in posts?

I love the new advanced editor in 2.5, but I want to force people to hotlink images instead of clicking+dragging/uploading the images to my site.

How can I turn off image uploading in posts without having to resort to a different editor plugin?

Comments

  • GermontGermont New
    edited January 2018

    Search in the \conf\config.php for 'image', 'upload' or something like that, and set to 'false'.
    EDIT
    Or better than that, uncheck the option for attachments for 'Registered' role.

    R_J
  • Thank you very much!

  • Hmm I looked into it but it seems like there's no option in the roles editor for attachments.

  • In the role editor I have in Plugins section an option Upload Attachments - translated from my language, I suppose that's what it says in english. Ctrl+F for 'attachments' to find it.
    If users can upload images on the server, than you should have this option.

  • edited June 6


  • You can switch it off in Categories too.

Sign In or Register to comment.