![]() |
Where to store member's photos?
Well for vbspace, there's going to be a basic gallery where each member can have up to 1-x pictures (decided by admin)...I'm not asking how to upload the images but where to store them? I want the most optmized way, and I don't know which solution is best. I think a file system is the best way to go, but where would I store the images directory-wise? In one large folder, or something else?
Any suggestions would be greatly appreciated. |
Quote:
|
Database storage as a blob is usually faster, but file storage is easier to manage and it won't take up as much CPU time in terms of database access.
Store them all in a folder with sub-folders by userid if each user has more than one picture. storagefolder/1 storagefolder/2 storagefolder/3 ... If there is only one picture per user, then just store them all in one folder. - Sid |
^^ That's what I was thinking of doing...Thanks. Any other suggestions?
|
All times are GMT. The time now is 07:39 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|