i am working on a project where i must store files (png pictures). I have a lot of pictures. Actually, i insert records in a table which primary key is auto increment. I fetch the unique id of the record and i store my png file my renaming it (.png). This works great but i am looking for a cleaner solution. Do you think it is a good thing to store the pictures in a blob field ? I am wondering too if it is a good thing to store it in a json field (new feature of mysql store document)
Thanks