Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

195
Views
¿Cómo puedo enviar una imagen a otro usuario usando firebase y javascript?

Soy nuevo en firebase y estoy tratando de enviar una imagen a otros usuarios en grupo. Pero no puedo encontrar la forma correcta de hacerlo... Quiero mostrar la imagen con su src almacenado en la base de datos, ¿cómo hacerlo?

 fuction sendImage(){ if (snpVal.msg.indexOf("base64") !== -1) { const dbbbb = db.ref(`WebApp/Web Devs/chatMessages/${chtMainMsg.id}`).push({imageSrc: snpVal.msg}); const dbmsg = db.ref(`WebApplication/Web Devs/chatMessages/`).child(`${snpVal.chgId}`); dbmsg.update({msg: ''}); let imgElm = document.createElement("img"); let br = document.createElement("br"); imgElm.src = snpVal.imageSrc; chtMainMsg.innerText = dbmsg; chtTxt.appendChild(imgElm); chtTxt.appendChild(br); if (chtMainMsg.innerText === snpVal.msg) chtMainMsg.innerText = ''; } }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

creo que la mejor manera sería almacenar el enlace en el servicio de base de datos de firebase y consultar el valor de los enlaces deseados

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!