There are several factors you need to consider before choosing which method you wish to use. By default, vBulletin stores pictures in the database since every server that supports vBulletin will work with this method. Not every server will be able to store pictures in the file system.
Storing in database:
- Pro
- Backing up your database, also backs up your pictures
- Does not consume any of your file system storage limits (unless MySQL storage counts)
- Con
- Can increase server load on large forums (all pictures require a database hit)
- Pro
- Better performance for large forums
- Easier to backup your database
- Con
- Does not work if SAFE MODE is enabled on your server.
- Need to backup attachments separately from database
- Consumes space on your file system
- Performance is not as good as when there is direct access to thumbnails
- Pro
- Best performance for large forums
- Easier to backup your database
- Con
- Does not work if SAFE MODE is enabled on your server.
- Need to backup attachments separately from database
- Consumes space on your file system
- Thumbnails can always be retrieved if the URL is known; no permission checks are applies on them
