So In my firebase code it upload src of image to child of database and when its loaded it takes too much internet | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

So In my firebase code it upload src of image to child of database and when its loaded it takes too much internet

how to solve it and not load all image heres the code var camimg = img.src; var db = firebase.database(); db.ref("allcam").push().set({ name: name, price: price, cam: cam, num: num, camimg: pogimg, camimg2: pogimg2, camimg3: pogimg3, });

20th Mar 2022, 3:45 PM
Papa Penguin
2 ответов
+ 3
compress the image
20th Mar 2022, 4:21 PM
BroFar
BroFar - avatar
+ 3
Reduce pixel size in ( kb )
21st Mar 2022, 2:31 AM
Sam 🌟
Sam 🌟 - avatar