-
Notifications
You must be signed in to change notification settings - Fork 138
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
File/avatar uploads #226
Comments
I'll take this Issue, we'll use the simple upload file method of Laravel?, phpvms have a external package to manage images? |
@joooseb yes, let's use the simple upload... it should upload to There should also be a clear avatar button. And then we can do the same thing for the rank table. I was thinking we can use Intervention/image to resize the images. I think we should create a config section in 'avatar' => [
'width': '200px',
'height': '200px',
], And that can be used to dictate the resizing. |
And once that's working, it should work about the same for ranks, except into |
Ok, thanks you for the information. I worked with intervention package in other Laravel project, I'll install the package into phpvms (so the PR will contain a modification into composer.json) and I'm going to start to work, I will back soon :)! |
Thanks, take your time! |
Nabeel, getAvatarAttribute() is conflicting the final avatar route |
Hmm, I'm not exactly sure what you mean. Do you mean the link above it what it's creating? The |
file uploads
files
table that looks likeexpenses
- with aref_class
andref_class_id
to allow attaching files to different assets - aircraft, airports initiallyavatar
avatar
column inuser
tableThe text was updated successfully, but these errors were encountered: