I have never populated a database with images before now. I will tackle the actual upload script when I come to it but for now I am creating the table in phpMyAdmin and cannot see any relevant data type.
Is this even the correct way of going about it, or would it be better to store images in the filesystem and just store the path, or filename in the database? If doing that, should I do something to the filename to 'clean' it, e.g. rename all files with a random string.
Thanks