Uploading Images to Firebase Storage in ReactJS

  Рет қаралды 70,591

Hong Ly Tech

Hong Ly Tech

Күн бұрын

Пікірлер: 126
@honglytech
@honglytech 3 жыл бұрын
Since I have been receiving requests on how to upload multiple images to Firebase, I decided to create this new tutorial. Hope you like it! kzbin.info/www/bejne/iWXdko2sgp18m6s
@DajuSar
@DajuSar 3 жыл бұрын
what an absolute madlad
@ronaknavadiya
@ronaknavadiya 3 жыл бұрын
Thanks a lot !
@errinwright
@errinwright 3 жыл бұрын
Thank you!!
@shannon-daygrant8754
@shannon-daygrant8754 3 жыл бұрын
One of the few tutorials that I've followed that has gone off without a hitch. Kudos to you! Merci from Montréal.
@shannon-daygrant8754
@shannon-daygrant8754 3 жыл бұрын
Constructive criticism might be: you could explain in more detail what every aspect of the codebase is doing. But you get props for code that works! Many thanks.
@perebiakpara6609
@perebiakpara6609 4 жыл бұрын
You actually don't know how long i've been looking for this 😭❤️. I really appreciate it
@honglytech
@honglytech 4 жыл бұрын
You're welcome, Pere. I'm happy that it helped! :)
@gamerteen4153
@gamerteen4153 3 жыл бұрын
same this video helped a lot
@andresvargas8562
@andresvargas8562 4 жыл бұрын
Thank you so much... I came here because the Library called react-firebase-file-uploader didn't work due to a (couldn't find the module ERROR)... But your code does exactly the same... I just modified it a little in order to adapt it to my project... But I wouldn't be possible without your excellent explanation
@honglytech
@honglytech 4 жыл бұрын
Glad that it helps :)
@talkohavy
@talkohavy 2 жыл бұрын
OUTDATED !!! Guys, look for "Firebase v9 Storage in React | Upload Files to Cloud " tutorial video.
@harisiqbal706
@harisiqbal706 4 жыл бұрын
this whole series is just awesome, covers everything you should know about react with firebase, really appreciated. ❤
@thetruereality2
@thetruereality2 4 жыл бұрын
Thank you very much, this helped a lot after lots of searching I came across this video and its probably the simplest possible expanation there is. I particularly liked it because its done without axios or doesn't require any cloud functions or anything so thank you
@yadharthganesh
@yadharthganesh 3 жыл бұрын
a thousand thanks bro. i was searching exactly for this..u made my day bro
@plabmadeeasy
@plabmadeeasy 3 жыл бұрын
Thanks for making these videos . You’re a star!
@evanbero9705
@evanbero9705 2 жыл бұрын
Great, simple tutorial, Ly. Thanks!
@yuukotombo6578
@yuukotombo6578 4 жыл бұрын
Great breakdown. I was able to find my error with this quick video! Very straight forward example.
@honglytech
@honglytech 4 жыл бұрын
I'm glad to hear that, Yuuko.
@viveknigam3003
@viveknigam3003 3 жыл бұрын
Thanks a lot man! You covered all the essentials which were needed! ♥
@Artisticanand
@Artisticanand 3 жыл бұрын
hai sir ,can u please help me i write this code inside a class component ,so usestyles showing some errors what are the changes i have do remove the errors.problems are 1)Line 46:5: 'setImage' is not defined no-undef Line 51:25: 'image' is not defined no-undef
@sawyerlightsey3709
@sawyerlightsey3709 3 жыл бұрын
Sounds like you didn't define the useState hooks. 10:00 into the video, line 6 is where he defines it.
@KevinJohnKiely
@KevinJohnKiely 3 жыл бұрын
Just what I needed, thank you!
@gamerteen4153
@gamerteen4153 3 жыл бұрын
so many videos and FINALLY THANK YOU
@youssefb581
@youssefb581 3 жыл бұрын
I get the folowing error when trying it in production: Firebase Storage: No default bucket found. Did you set the 'storageBucket' property when initializing the app? (storage/no-default-bucket) It works perfectly fine in localhost, any reason why this happens?
@aqeelshamz
@aqeelshamz 3 жыл бұрын
Thank you for this awesome tutorial 💙
@sofiemanetti6747
@sofiemanetti6747 3 жыл бұрын
Excelent video! Very well explained :) Greetings from Argentina
@honglytech
@honglytech 3 жыл бұрын
Thanks Sofie! Also greeting from Australia
@laceywalker2766
@laceywalker2766 3 жыл бұрын
This was so helpful for my project!!!!!!! Thank you so much!!!
@honglytech
@honglytech 3 жыл бұрын
I’m so glad it helped!
@hoshiyomineedmoresuitamin5489
@hoshiyomineedmoresuitamin5489 3 жыл бұрын
Hi i have a question should we upload file such as image at client to storage cloud and take down url after that we send url to server to store url in database ? i think it a bit faster or less security?
@Human_Evolution-
@Human_Evolution- 2 жыл бұрын
What if I already have a Firebase project going with a collection of text data, how do I then add image uploads as well? Starting from scratch seems to be different. I spent 2 hours failing from Pedro's tutorial earlier today. I like your video although that one handler function looks way too long.
@adamwoolf9993
@adamwoolf9993 4 жыл бұрын
Please can you explain how to then download all the image urls as an array and print the images on the screen like a photo gallery?
@soulking6982
@soulking6982 3 жыл бұрын
Thank u very much. Can u aslo tell how mush space firebase storage has. Btw thank 🙏❤u
@crazycode2578
@crazycode2578 4 жыл бұрын
Dear Sir. I really like your video. But when I uploaded image to firebase storage then GET image by URL, it occurred bug CORS blocked. Can you fixed me this bug? I have spent all day to fix this bug but it go nowhere. Thanks
@pompompurin-g6j
@pompompurin-g6j 4 жыл бұрын
Man, thank you so much, it was a big help for me!👊👍
@waldothedev
@waldothedev 3 жыл бұрын
Thanks for the tutorial, I have a question, how do you implement a function to cancel or pause the upload in React?
@Vsevolod_Gorobec
@Vsevolod_Gorobec 3 жыл бұрын
thx man , progress was awesome!
@alberthperez6991
@alberthperez6991 4 жыл бұрын
You're a genius, just what I was looking for, thank you very much.
@osamabinladen7827
@osamabinladen7827 4 жыл бұрын
Thanks so much. This was a huge help.
@ahmadmuraish1144
@ahmadmuraish1144 3 жыл бұрын
Excellent, you earned a sub
@lb9915
@lb9915 4 жыл бұрын
thanks for the great video. Saved me a ton of time.
@chris78945
@chris78945 4 жыл бұрын
Thank you so much for a really well explained video!
@honglytech
@honglytech 4 жыл бұрын
Thanks Chris
@miguelangelcabrera2227
@miguelangelcabrera2227 4 жыл бұрын
great video.! help me a lot!!
@protegous
@protegous 4 жыл бұрын
Thank You! This has been very helpful!
@honglytech
@honglytech 4 жыл бұрын
Glad it is helpful Talha
@matheusdocarmo4150
@matheusdocarmo4150 4 жыл бұрын
Thanks so much ! Worked perfectly!
@Covuosier
@Covuosier 4 жыл бұрын
Thanks for this! Helped me out a lot.
@honglytech
@honglytech 4 жыл бұрын
You're welcome
@jeevanstha57
@jeevanstha57 3 жыл бұрын
please make a video on multiple image to firebase firestore with user name and render according to user name like facebook,insta...
@callumn-d846
@callumn-d846 4 жыл бұрын
Nice and clear. How would you approach uploading multiple files?
@faouziauk1
@faouziauk1 4 жыл бұрын
I was looking into that also, any guidance would be fantastic!
@ahmedateeq1721
@ahmedateeq1721 3 жыл бұрын
THANK YOUUUUUU, you made my life easier !!!!
@ifeyinwakanu3956
@ifeyinwakanu3956 4 жыл бұрын
This is great. Much appreciated.
@romelurbay1716
@romelurbay1716 4 жыл бұрын
Hi. When I upload an image or video the second time to Firebase, the first image or video that was uploaded is no longer displayed. this is fixed when the file is uploaded with another name, but is there another way to fix it? thanks in advance 🙏
@אביאמן
@אביאמן 2 жыл бұрын
How to use both storage and authentication together ?
@lautarodelloni
@lautarodelloni 4 жыл бұрын
Thank you so much!! You're awesome!! :D
@chavorrukin
@chavorrukin 3 жыл бұрын
Thank you for this tutorial. This worked almost perftectly for me, but the url inside my .then is returning "undefined". Has anyone ran into that issue?
@dipakraut6058
@dipakraut6058 3 жыл бұрын
Thank you so much, Brother🙌
@grakify
@grakify 4 жыл бұрын
You're a genius!! Thanks so much :D
@ankitkumarverma8214
@ankitkumarverma8214 3 жыл бұрын
When I try to load firebase url in img tag cross origin bad request error comes
@nidhishettigar6981
@nidhishettigar6981 2 жыл бұрын
as i imported storage i got this error, please help. ERROR in ./src/fire.js 3:0-32 Module not found: Error: Package path . is not exported from package E:\e-buddy-for-rescued-child-labour\ebuddy-portal ode_modules\firebase (see exports field in E:\e-buddy-for-rescued-child-labour\ebuddy-portal ode_modules\firebase\package.json)
@ongomobile9956
@ongomobile9956 4 жыл бұрын
Thank you an awesome tutorial super helpful
@honglytech
@honglytech 4 жыл бұрын
Glad it was helpful!
@sebastiantamayo7779
@sebastiantamayo7779 3 жыл бұрын
How do I do now for multiple files?
@ngotrongphuc99
@ngotrongphuc99 4 жыл бұрын
can this able to choose and upload multiple images?
@rifaniriyas5197
@rifaniriyas5197 2 жыл бұрын
when i try to load image in firebase i am getting error in arduino ide as uploading picture...invalid http or url error ...plz clear the doubts ...
@monstertuk92
@monstertuk92 3 жыл бұрын
Hello because the value "e" marks me an error: Parameter 'e' implicitly has an 'any' type.ts(7006) I wrote it the same as in the video.
@cactuxjuice3606
@cactuxjuice3606 2 жыл бұрын
const handleChange = (e: React.ChangeEvent) => {... try this
@manojmenon5020
@manojmenon5020 3 жыл бұрын
hello brother,please tell me the maximum images that can be stored in firebase.Please i need to know for important purpose
@herlloncardoso3661
@herlloncardoso3661 4 жыл бұрын
excellent video, help me a lot.
@abdallahjabermohamad3147
@abdallahjabermohamad3147 3 жыл бұрын
thanks a lot , but how can i store the image as a ref to the current user ( profile picture ) and it only relate to this guy ...
@gcrisu
@gcrisu 3 жыл бұрын
I could not change my rule in Firebase. Really wish this could work for me.
@gokanton6090
@gokanton6090 4 жыл бұрын
Very usefull. thank you)
@ozankurucu6261
@ozankurucu6261 4 жыл бұрын
Thank you so much bro :)
@sabrinaakbar5348
@sabrinaakbar5348 4 жыл бұрын
Can you please make a video of displaying all the images stored in the firebase using react? Or how to use the libraries which do that. Thanks :)
@honglytech
@honglytech 4 жыл бұрын
Thanks for your suggestion, Sabrina. Noted!!
@manuelluques3433
@manuelluques3433 4 жыл бұрын
Great video! You saved me
@honglytech
@honglytech 4 жыл бұрын
Luques Manuel You’re welcome, Luques.
@naanfromchennai-nfctamil1714
@naanfromchennai-nfctamil1714 4 жыл бұрын
infinite loop occurs....any solution please
@jugal.suthar
@jugal.suthar 3 жыл бұрын
you made my day
@lnmendez
@lnmendez 3 жыл бұрын
gracias, me ayudo mucho
@vinhvinh4701
@vinhvinh4701 3 жыл бұрын
Thanks man😉
@ramielsonedgar2095
@ramielsonedgar2095 3 жыл бұрын
Big thanks man
@VrlHtzz
@VrlHtzz 4 жыл бұрын
I just loooooooooooooooooooooooovvvvvvvvvvvveeeeeeeeeeeeeeeeee You 😭😭 You saved me from something you can't even imagine 😍 it worked for me 😭 Thank you brother 🙏👊👍
@impree8181
@impree8181 3 жыл бұрын
is this created with react hooks or react native?
@orarbel167
@orarbel167 3 жыл бұрын
Hooks, for example useState
@phongsavanhmongkhonvilay3193
@phongsavanhmongkhonvilay3193 2 жыл бұрын
is this firebase v9?
@shahriajamankhan1760
@shahriajamankhan1760 3 жыл бұрын
lovely....appreciate it ♥
@muhammadahmadnadeem6688
@muhammadahmadnadeem6688 3 жыл бұрын
Facing An Error Of UpdateTask.on Is Not a function Any One pLz Help
@nelsonomoro8591
@nelsonomoro8591 3 жыл бұрын
If you are getting an error trying to import Storage when using firebase v9 Watch the videos below: Link to import firebase/storage - shrinke.me/sFdh2B Link to import firebase/firestore - shrinke.me/COlYPZ
@adamwoolf9993
@adamwoolf9993 4 жыл бұрын
Supernice! thanks!
@JonsonNcube
@JonsonNcube 4 жыл бұрын
THANK YOU!!!!!! #Subscribed!!!
@hoanganhtufplhn355
@hoanganhtufplhn355 3 жыл бұрын
Thanks bro !
@devongrey1237
@devongrey1237 4 жыл бұрын
great video!
@honglytech
@honglytech 4 жыл бұрын
Thanks for the visit
@Animals_clips
@Animals_clips 3 жыл бұрын
Great video
@sohamvishwas6795
@sohamvishwas6795 2 жыл бұрын
Thank you!
@LaceyMarie333
@LaceyMarie333 4 жыл бұрын
thank you so much!!!!!!!!!!!!!!!!!!!!
@notfavoritemartian
@notfavoritemartian 4 жыл бұрын
Love you man
@sureshjangid3395
@sureshjangid3395 2 жыл бұрын
User does not have permission to access 'product-image/camra.png'. (storage/unauthorized
@romadebrian
@romadebrian 3 жыл бұрын
thank you very much
@nprajwal420
@nprajwal420 3 жыл бұрын
Thanks so much
@hitman42X
@hitman42X 4 жыл бұрын
Thank You
@Vinicius-hr3sp
@Vinicius-hr3sp 4 жыл бұрын
thank you
@smithbenson3984
@smithbenson3984 4 жыл бұрын
good job
@haniarafique5840
@haniarafique5840 3 жыл бұрын
Sir jee mouj kerdee apnay tou !!!!
@nigushaa
@nigushaa 2 жыл бұрын
Though I'm an atheist, God bless you!
@fmdndr
@fmdndr 3 жыл бұрын
thanks
@mathewsjoby6455
@mathewsjoby6455 2 жыл бұрын
doesn't work
@alamshaikh4618
@alamshaikh4618 3 жыл бұрын
Thank uuuuu
@MahaDeveloper
@MahaDeveloper 3 жыл бұрын
Le Stack overflow* Let's just declare this as deprecated. stackoverflow.com/questions/41352150/typeerror-firebase-storage-is-not-a-function
@thekha8490
@thekha8490 2 жыл бұрын
thks
@feras3513
@feras3513 4 жыл бұрын
i love you
@ScorpionKingTP
@ScorpionKingTP 4 жыл бұрын
React was not necessary based on your title
@denzelzed2775
@denzelzed2775 3 жыл бұрын
6 minutes to just install firebase
@wintendedgamer2328
@wintendedgamer2328 2 жыл бұрын
G4T
@shehanbartholomeusz7511
@shehanbartholomeusz7511 3 жыл бұрын
thank you
@אביאמן
@אביאמן 2 жыл бұрын
Thank you very much
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Uploading Multiple Images to Firebase in ReactJS
27:23
Hong Ly Tech
Рет қаралды 16 М.
Firebase - Back to the Basics
25:23
Fireship
Рет қаралды 602 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
Why living in Canada has become Impossible
17:01
Hindsight
Рет қаралды 6 МЛН
Mind-Blowing Humanoid Robot Walked Outside (The Internet Exploded)
13:51
Firebase v9 Storage in React | Upload Files to Cloud
11:08
Fullstack Simplified
Рет қаралды 30 М.
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 848 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН