<p>Craft's default Redactor implementation comes with image selection and uploading out-of-the-box that ties to its <a href="http://buildwithcraft.com/docs/assets" rel="nofollow noreferrer">Assets sources</a>.</p>

<p>If you click this button:</p>

<p><img src="https://i.sstatic.net/o0RIX.jpg" alt="enter image description here"></p>

<p>You'll get a modal where you can select already uploaded Assets or upload new ones.</p>

<p><img src="https://i.sstatic.net/ofyyh.jpg" alt="enter image description here"></p>

CC BY-SA 3.0
2015-06-21T16:37:34.747Z
Yes this works but if I drag and drog it does not work. I see the upload in progress bar but no image show up at the end. Also when I click on FILE UPLOAD button and choose a file to upload it fails.
migmaker
CC BY-SA 3.0
2015-06-21T22:51:28.750Z
You can check your `craft/storage/runtime/logs` files for `[error]` to see if there is any underlying error message getting logged.
Brad Bell
CC BY-SA 3.0
2015-07-19T20:00:01.213Z
Hi Brad, sorry I was MIA for 1 month. So to continue this subject I am checking the log but I got 1600 error new lines suddenly appearing, I am not sure what to check.  Do you have an example of clear path for the parameter : fileUpload: '?'.
migmaker
CC BY-SA 3.0
2015-07-19T20:00:58.233Z
Also second subject concerning the file upload in redactor, I am trying to use the ADD FILE button but it does add not my file at all.
migmaker
CC BY-SA 3.0
2015-06-20T16:25:10.557Z
2015-06-20T16:25:10.557Z
Brad Bell
<p>I succeeded to add the image and file upload buttons to my rich text redactor field with the fileupload param in the json config file.</p>

<p><img src="https://i.sstatic.net/JRQZu.png" alt="redactor toolbar"></p>

<p><code>{
    buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video','table','file'],
    plugins: ['fullscreen','video','table',''],
    toolbarFixed: true,
    fileUpload: 'fichiers/'
}
</code></p>

<p>But it does not work : when I drap and drop a file or an image it shows the top bar indicating upload in progress but it finish without anything inserted in my field.</p>

CC BY-SA 3.0
2015-06-20T15:58:58.263Z
You do not need to modify the redactor config to get image inserting from your assets into a rich text field. Have you set up your asset source correctly? Can you see assets a source in your assets tab?
Luke Holder
CC BY-SA 3.0
2015-06-21T16:38:42.747Z
Yes I got my assets ressources defined but I do understand in CRAFT CMS a clear link between redactor and the assets. It is not so clear for me...
migmaker
<redactor><upload><craft-features>
Redactor upload image and file does not work
# Redactor upload image and file does not work

(Asked by: username_0 on 2015-06-20)

I succeeded to add the image and file upload buttons to my rich text redactor field with the fileupload param in the json config file.

![redactor toolbar](https://i.sstatic.net/JRQZu.png)

`{
buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video','table','file'],
plugins: ['fullscreen','video','table',''],
toolbarFixed: true,
fileUpload: 'fichiers/'
}`

But it does not work : when I drap and drop a file or an image it shows the top bar indicating upload in progress but it finish without anything inserted in my field.

**Tags:** redactor, upload, craft-features
> **Comments:**
> **username_1**: You do not need to modify the redactor config to get image inserting from your assets into a rich text field. Have you set up your asset source correctly? Can you see assets a source in your assets tab?  
> **username_0**: Yes I got my assets ressources defined but I do understand in CRAFT CMS a clear link between redactor and the assets. It is not so clear for me...  

---

## 1 answers

### Answer by username_2 on 2015-06-20. Score: 1

Craft's default Redactor implementation comes with image selection and uploading out-of-the-box that ties to its [Assets sources](http://buildwithcraft.com/docs/assets).

If you click this button:

![enter image description here](https://i.sstatic.net/o0RIX.jpg)

You'll get a modal where you can select already uploaded Assets or upload new ones.

![enter image description here](https://i.sstatic.net/ofyyh.jpg)

> **Comments:**
> **username_0**: Yes this works but if I drag and drog it does not work. I see the upload in progress bar but no image show up at the end. Also when I click on FILE UPLOAD button and choose a file to upload it fails.  
> **username_2**: You can check your `craft/storage/runtime/logs` files for `[error]` to see if there is any underlying error message getting logged.  
> **username_0**: Hi Brad, sorry I was MIA for 1 month. So to continue this subject I am checking the log but I got 1600 error new lines suddenly appearing, I am not sure what to check.  Do you have an example of clear path for the parameter : fileUpload: '?'.  
> **username_0**: Also second subject concerning the file upload in redactor, I am trying to use the ADD FILE button but it does add not my file at all.  

---

