Upload directory for a field instance
You just wanted to add attribute file_directory inside the settings array

  'settings' =&gt; array(
    'file_directory' =&gt; 'myModule/images',
    ),


Here is other attributes that might be added:

  'settings' =&gt; array(
    'file_extensions' =&gt; 'png jpg jpeg',
    'file_directory' =&gt; '',
    'max_filesize' =&gt; '20 MB',
    'alt_field' =&gt; 1,
    'title_field' =&gt; 1,
    'max_resolution' =&gt; '300x200',
    'min_resolution' =&gt; '200x125',
    'default_image' =&gt; 0,
  ),