Depending on the images you're storing - I'd use links rather than storage, unless it's for something for something trivial like avatars.
Also if you're storing paths, try to make them as relative as possible, usually, just the filename if they're all stored in the same folder, otherwise, with just the subfolder name in the path. This may save headaches if you have to move server / change / rename the parent folder structure. Just keep the parent path in a config variable , e.g.
If your images are stored in these locations:
/uploads/images/2012/
/uploads/images/2011/
I'd store the path as:
2012/user431_7384792837.jpg
And the config var as:
$img_parent = 'uploads/images/';
Just a thought...
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080