Ok guys...
There are really not many tutorials on how to make a good photo upload service with Phalcon.
Is it better to use mysql/nosql for saving a uploaded image's location?
If using mysql, is it better to add photos to some model (User: id, photo1, photo 2...) or to create a new model for photos(Photos: id, userId, name)? The second versions seems to me much slower if large amount of images..
Is it better to use some real names in image name (for SEO) or to md5 a name of image ?
The official documentations gives us only this : https://docs.phalcon.io/en/latest/reference/request.html#uploading-files but I dont find that very useful if i want to give every photo to unique place in one model (like User: id, photo1, photo 2...).
I, and many future learners would appreciate if some of you could post your examples here. Im sure quite many people google for ''image upload phalcon'' and the results are... well.. here we are :) Every example is good, from general to handling file sizes, file types, and so on :)