+ 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, });
2 Answers
+ 3
compress the image
+ 3
Reduce pixel size in ( kb )