Users will be able to upload an image file from their local files when editing the profile. We will update the EditProfile component in client/user/EditProfile.js with an upload photo option, then attach the user selected file in the form data submitted to the server.
Uploading a photo from the edit form
Get Full-Stack React Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.