<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1044492" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1044492</link>
    <description></description>
    <language>en</language>
          <item>
    <title>I&#039;ve solved this with</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/pictures-directory-drupal-site-users#comment-1243701</link>
    <description> &lt;p&gt;I&#039;ve solved this with another dreadful hack.&lt;/p&gt;
&lt;p&gt;I&#039;ve created a new table: drup_picture_files with fields name, type, path.&lt;/p&gt;
&lt;p&gt;I&#039;ve created the new directory sites/default/files/picture/users/username&lt;/p&gt;
&lt;p&gt;I&#039;ve use file_save_upload to allow the user to upload the file&lt;/p&gt;
&lt;p&gt;I&#039;ve added the user name, type and path to the drup_picture_files table.&lt;/p&gt;
&lt;p&gt;And for the avatar, I&#039;ve used a SQL UPDATE to set the user&#039;s picture field to the sites/default/files/picture/users/username directory. Seems to work.&lt;/p&gt;
 </description>
     <pubDate>Sun, 26 Jul 2009 07:20:49 +0000</pubDate>
 <dc:creator>davecoventry</dc:creator>
 <guid isPermaLink="false">comment 1243701 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
