Skip to content
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

adding profile picture and event picture. #62

Open
1 of 2 tasks
chaitanyagiri opened this issue Oct 18, 2017 · 2 comments
Open
1 of 2 tasks

adding profile picture and event picture. #62

chaitanyagiri opened this issue Oct 18, 2017 · 2 comments

Comments

@chaitanyagiri
Copy link
Member

chaitanyagiri commented Oct 18, 2017

I'm submitting a ...

  • bug report
  • feature request

Current behaviour:
There is no option for user to add profile picture and for
admin to add event picture.
Expected behaviour:
Admin and user will be able to add pictures.

put a 'x' inside [ ] to check.
Steps to reproduce:
1, add an image field in schema of user and event
2, edit profile.hbs, addevent.hbs and editevent.hbs to add a field to get images
3, integrate both the things.
4, adjust CSS

@guptajeetesh7
Copy link
Contributor

@chaitanyagiri we have to use GridFS to store the picture.

@karanagarwal17
Copy link
Contributor

There are many ways to implement this. I think using multer to store images in a folder and using routes to handle it, similar to the other routes would be good in this scenario.

This way, we can insert the route url anywhere we want to across the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants