<div>If you are using the filefield module, you can configure subdirectories for files/images that are uploaded. The imagecache module also creates a separate directory structure for image versions. Other file solutions like the IMCE module also allow for subdirectories.</div>
<meta charset="utf-8"><div><br></div><div>Files are tracked in the database and you can use Views to create lists of them if you are concerned about file management. <br><br></div><div>Your question asks "Why" but perhaps consider "Why not?" Storage is cheap. Sometimes subdirectories can be more administrative overhead than they are worth. Especially if you decide to change the structure someday -- existing files have paths entries in the files database table, which would need to be updated, and you would need to add redirects so that users don't receive 404's for cached links. </div>
<div><br></div><div>There is no right answer to how you choose to construct your files directory.</div><div><br></div><meta charset="utf-8"><div><br><div class="gmail_quote">On Wed, Nov 24, 2010 at 11:40 AM, prothero <span dir="ltr"><<a href="mailto:prothero@geol.ucsb.edu">prothero@geol.ucsb.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hi. I'm using SolarSentinal and Drupal 6.19. <a href="http://es.earthednet.org" target="_blank">http://es.earthednet.org</a><div>
<br></div><div>What I'm wondering is the best place to put user uploaded files. Currently, I have specified the /sites/default/files folder. This is the setting in the administer->file system configuration. The temporary directory is set to tmp.</div>
<div><br></div><div>So, when users, who is allowed to create new content and upload images are active, do I get a folder with a bazillion images in it? Is there a way of cleaning house? I notice that duplicate images get a suffix that keeps filenames from being duplicated.</div>
<div><br></div><div>It seems odd that the uploaded images from the entire site would all end up in a single folder.</div><div><br></div><div>Perspective would be much appreciated.</div><div>Regards,</div><div>Bill</div><div>
<br></div><div><br></div><div>What happens if <br><div> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<font face="Helvetica" size="3" style="font-size:12px"><span style="font-size:12px"><span style="font-size:12px"><span style="font-size:12px">William A. Prothero</span></span></span></font></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-size:12px"><a href="http://earthednet.org/" target="_blank">http://earthednet.org/</a></span></p><br></span></span></span></span><br></div></span></div></span> </div><br></div></div><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>