Hi guys, I create a Gallery creator that I'm using on most of my recent projects. It allows you to not only upload images, but also link images that are currently on the db to the new gallery. And besides uploading the image, it also creates and saves a thumbnail.
My biggest concern here is the way I'm doing the save and upload of the images. After the validation, the model is the one that saves the filenames to the db and those are passed back to the controller who sends it to the Uploader class. I'm not sure if that's correct or if there's a better way to do it.
Here is the repository with the code:
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community