hi there,
I know there are hundreds of threads out there covering the code-side of uploading images to a database, but what I'm intereset in, is the logical part of how to manage images.
I have a website with different projects. The amount of images per project varies between 3-12 images. There's also the option to add movies to a project
I've managed to think of different ways how to manage the files.
Upload all the images/movies into a single folder and tagging them with an unique id. Store the link to the file in the db.
Create a folder for each project and store the files within. Probably still needs unique id's to prevent same-name-file-conflicts. Therefore why bother putting it in different folders in the first place,
Store the files in the table as a binary (is that the right description? me = noob). Does that work for movies? I've read threads not recommending this.
Can anyone give me tips on which way is recommended or the best option for my problem? Or is there a way I haven't thought of?
cheers,
Greg