[thelist] Images--database or file

john at johnallsopp.co.uk john at johnallsopp.co.uk
Sun Feb 4 23:10:13 CST 2007

Hi ppl

I've just taken on a website and the previous developer stored images
in blob fields in a mySQL table.

I'm in the habit of storing them in a directory and just holding a
file name in the database.

Currently the table's 250MB in size and I'm having problems uploading
that to a new hosting account, so that's one downside of that method.

Which way is best, tho? What are the advantages of storing images in a
database? Or was I more rightererer than he?


More information about the thelist mailing list