Support the ongoing development of Laravel.io →
posted 11 years ago
Architecture

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:

https://github.com/daninoz/gallery

Last updated 3 years ago.
0

Any comments on this?

Last updated 3 years ago.
0

To get feedback share a demo? ;)

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

daninoz daninoz Joined 5 Jan 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.