-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split upload directory into separate folders #2157
Comments
Funny how things like that just happen to collect more and more over time. A bunch of different projects I have worked on all suffered from this... /images folder, always a dumping ground with no structure whatsoever 😆 |
Ah okay now we know who to blame :D on the record
|
Who wants to write the upgrade script for this 😆 |
Folks, this feature needs a bit of polishing. - A configurable root path so the images can be kept outside nodebb tree. I believe there is a good rationale for that. I keep redis dump on a separate volume which gets backed up daily. The images are really part of user generated content and should be located somewhere next to redis to get the benefit of backup. Currently that is not possible. |
@baerrus Is backing up Edit: Oh, I see what you mean, you want it on a different partition altogether. Perhaps a |
Yes, --asset-dir flag and ability to configure during "./nodebb setup" would fit the bill, I think |
Superceded by #2318 |
I've been thinking that we should clean up the directories a bit further than just the naming extensions e.g.
*-profileimg.*
to give some type of organization and differentiation between the images and files within the/public/uploads
directory into three separate folders./public/uploads/
profile ...for user profiles./public/uploads/
category ...for the category images./public/uploads/
files ...for the uploaded files via topic/post images and files.The text was updated successfully, but these errors were encountered: