This folder contains uploaded user's picture This folder must be writeable (chmod 777) By creating subfolders, the documents will be stored in these subfolders (corresponding to the id of the user). Creating subfolders is not mandatory; it's recommended if you expect huge amount of users You can create subfolders by 1000 of id: like avatar/1000/ You can also create subfolders by 100 id: like avatar/1000/1100/ If subfolders doesnot exist, the files will be stored in the root folder /avatar/ If you use subfolders, be sure that they are all writeable (chmod 777)