<p>I got the images to upload into correct folders by switching Image field to "Restrict uploads to a single folder" option. I also had to fix the File System Path in Settings>Assets>Asset Sources to the full file system path.</p>

CC BY-SA 3.0
2017-08-14T23:05:15.130Z
If you got it to work, you can accept your own answer – then others with the same problem can see there is a solution to find here :)
KSP
CC BY-SA 3.0
2017-08-14T20:56:43.240Z
2017-08-14T20:56:43.240Z
SoHo
<p>I setup an Assets field called Images. My Default Upload Location is set as <code>{parent.uri}/{slug}</code></p>

<p>My File System Path for that folder is <code>img/</code></p>

<p>The directory structure that is generated is correct and in this format: <code>img/artists/artist_name/category_name/project_name</code></p>

<p>But the images are being saved in the root <code>img/</code> directory.</p>

<p>What am I missing?</p>

CC BY-SA 3.0
2017-08-09T21:51:09.567Z
Assuming this field lives in a structured section, did you add it to the "My Default Upload Location" setting, which only applies to files drag-and-dropped onto the field?  Or did you check the "Restrict uploads to a single folder" setting and add it to the "Upload Location" setting?  The latter is the one you probably want to do.
Brad Bell
CC BY-SA 3.0
2017-08-10T17:04:29.547Z
Can you add what the solution you ended up using as an official answer in case it helps someone in the future?
Brad Bell
<assets>
Assets are not saved in dynamically generated folders
# Assets are not saved in dynamically generated folders

(Asked by: username_0 on 2017-08-09)

I setup an Assets field called Images. My Default Upload Location is set as `{parent.uri}/{slug}`

My File System Path for that folder is `img/`

The directory structure that is generated is correct and in this format: `img/artists/artist_name/category_name/project_name`

But the images are being saved in the root `img/` directory.

What am I missing?

**Tags:** assets

> **Comments:**
> **username_1**: Assuming this field lives in a structured section, did you add it to the "My Default Upload Location" setting, which only applies to files drag-and-dropped onto the field?  Or did you check the "Restrict uploads to a single folder" setting and add it to the "Upload Location" setting?  The latter is the one you probably want to do.  
> **username_1**: Can you add what the solution you ended up using as an official answer in case it helps someone in the future?  

---

## 1 answers

### Answer by username_0 on 2017-08-14. Score: 1 | Accepted answer

I got the images to upload into correct folders by switching Image field to "Restrict uploads to a single folder" option. I also had to fix the File System Path in Settings>Assets>Asset Sources to the full file system path.

> **Comments:**
> **username_2**: If you got it to work, you can accept your own answer – then others with the same problem can see there is a solution to find here :)  

---

