Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-14T23:05:15.130Z
Answers.Text: 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 :)
Answers.UserDisplayName: KSP
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-14T20:56:43.240Z
Answers.LastActivityDate: 2017-08-14T20:56:43.240Z
Answers.UserDisplayName: SoHo
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-09T21:51:09.567Z
Comments.Text: 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.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-10T17:04:29.547Z
Comments.Text: Can you add what the solution you ended up using as an official answer in case it helps someone in the future?
Comments.UserDisplayName: Brad Bell
Tags: <assets>
Title: Assets are not saved in dynamically generated folders
ThreadText: # 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 :)  
  
  ---
  
  