The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
Quote:
|
#3
|
||||
|
||||
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 |
#4
|
|||
|
|||
^^ That's what I was thinking of doing...Thanks. Any other suggestions?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|