Discussions

Ask a Question
Back to all

How to add an Image Input in React that pushes to Firebase with other inputs?

I am making an app that allows me to post projects with their name, description, and image. So far I have been successful in making the name and description posting part work. The problem I'm having is with the image upload. I am uploading it to storage but can't seem to figure out a method to link that reference with Firestore. I have tried making a reference field in my Firestore collection which writes the location of the image but it shows underfined when posted. Any help would be appreciated

Regards: cracksnoon