Answers.Body: <p><strong>Is there a way to limit the Asset upload directory in Redactor?</strong></p>
  
  <p>No. You'll want to use a Matrix Field with an image block.</p>
  
  <p>That said, it's possible you could create a Redactor button that does this via a plugin, but it'd probably be a bit of work.</p>
  
  <p><strong>Does anyone know the Redactor setting to set the default size of the editor?</strong></p>
  
  <p>The setting your looking for is <code>minHeight</code>.  Here's an example:</p>
  
  <pre><code>{
      buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video'],
      plugins: ['fullscreen', 'pagebreak'],
      minHeight: 200
  }
  </code></pre>
  
  <p>A longer discussion on custom Redactor toolbars and a few more examples can be found in this article: <a href="http://straightupcraft.com/articles/custom-redactor-toolbars-for-the-rich-text-field-in-craft-cms">Custom Redactor Toolbars for the Rich Text Field in Craft CMS</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-15T23:13:18.723Z
Answers.Text: Hey Ben, this came up as a need for me today. If I were to make a plugin to restrict Redactor uploads to a single folder, what "bit of work" would be necessary?
Answers.UserDisplayName: Lindsey D
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-16T21:32:47.557Z
Answers.Text: Hey @LindseyD.  I do not know! =)  I wasn't referring to any specific knowledge beyond it seems that Craft has integrated uploads to some degree, so it would likely be possible to take that a bit further.  I'd probably start by trying to dig into how Craft is extending Redactor for file uploads as a start.
Answers.UserDisplayName: Ben Parizek
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-07T20:43:32.357Z
Answers.LastActivityDate: 2014-07-07T20:57:44.187Z
Answers.LastEditDate: 2014-07-07T20:57:44.187Z
Answers.UserDisplayName: Ben Parizek
Body: <p>I am looking to control what asset directories are available from the image upload button in a rich text field. Is this possible?</p>
  
  <p>Also, does anyone know the Redactor setting to set the default size of the editor? I can't seem to track it down.</p>
  
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-15T12:23:06.547Z
Comments.Text: Got same problem. Feature request here : http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/9335715-limit-the-asset-upload-directory-in-redactor
Comments.UserDisplayName: migmaker
Tags: <redactor>
Title: Is there a way to limit the Asset upload directory in Redactor?
ThreadText: # Is there a way to limit the Asset upload directory in Redactor?
  
  (Asked by: username_0 on 2014-07-07)
  
  I am looking to control what asset directories are available from the image upload button in a rich text field. Is this possible?
  
  Also, does anyone know the Redactor setting to set the default size of the editor? I can't seem to track it down.
  
  Thanks!
  
  **Tags:** redactor
  
  > **Comments:**
  > **username_1**: Got same problem. Feature request here : http://feedback.buildwithcraft.com/forums/285221-feature-requests/suggestions/9335715-limit-the-asset-upload-directory-in-redactor  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-07-07. Score: 9 | Accepted answer
  
  **Is there a way to limit the Asset upload directory in Redactor?**
  
  No. You'll want to use a Matrix Field with an image block.
  
  That said, it's possible you could create a Redactor button that does this via a plugin, but it'd probably be a bit of work.
  
  **Does anyone know the Redactor setting to set the default size of the editor?**
  
  The setting your looking for is `minHeight`. Here's an example:
  
  ```
  {
      buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video'],
      plugins: ['fullscreen', 'pagebreak'],
      minHeight: 200
  }
  
  ```
  
  A longer discussion on custom Redactor toolbars and a few more examples can be found in this article: [Custom Redactor Toolbars for the Rich Text Field in Craft CMS](http://straightupcraft.com/articles/custom-redactor-toolbars-for-the-rich-text-field-in-craft-cms)
  
  > **Comments:**
  > **username_3**: Hey Ben, this came up as a need for me today. If I were to make a plugin to restrict Redactor uploads to a single folder, what "bit of work" would be necessary?  
  > **username_2**: Hey @username_3.  I do not know! =)  I wasn't referring to any specific knowledge beyond it seems that Craft has integrated uploads to some degree, so it would likely be possible to take that a bit further.  I'd probably start by trying to dig into how Craft is extending Redactor for file uploads as a start.  
  
  ---
  
  