Image Upload and Display in React, Node, MySQL | Upload Image in MySQL using Node js and React js

  Рет қаралды 32,734

Code With Yousaf

Code With Yousaf

Күн бұрын

Пікірлер: 59
@DennisIrungu-dx8md
@DennisIrungu-dx8md 2 ай бұрын
Hello, this is quite helpful. I have been struggling with uploading images, but through this tutorial I have finally managed. This channel is turning to be the most helpful channel, for this is not the first time am getting a solution from here. I've now subscribed and liked the video. I'll share the channel with others who may be in need of solutions like these. Thumbs up
@roxpmelo
@roxpmelo 7 ай бұрын
Simple and really helpful. Thanks a lot.
@biggmistake5589
@biggmistake5589 6 ай бұрын
hello, bro, you saved my life!!! really thank you very much! I found what I needed only from you
@atishkumarsahu6095
@atishkumarsahu6095 2 ай бұрын
After you complete this project have you deployed this project and check either after deployment it is working or not?
@joewatson8357
@joewatson8357 6 ай бұрын
Your voice is so sweet 👌
@khairulikhwan3988
@khairulikhwan3988 Жыл бұрын
Thank you soo much, you made my day!!
@alfaloverss3116
@alfaloverss3116 23 күн бұрын
hii bro i just have a question i want to upload 3000 photos and this method is capable to store the 3000 images and i also performance the crud oprations in this method it is possible and make the video how to do crud oprations
@nrDefarioBLF
@nrDefarioBLF 7 ай бұрын
Question: the image attribute should be as a varchar type?(SQL server)
@codewithyousaf
@codewithyousaf 7 ай бұрын
Yeah
@dogejohn5118
@dogejohn5118 6 ай бұрын
​@@codewithyousafhey i am storaing image in local drive can i fetch image by its path as it is not fetching
@codewithyousaf
@codewithyousaf 6 ай бұрын
@@dogejohn5118 No
@dogejohn5118
@dogejohn5118 6 ай бұрын
​@@codewithyousaf bro i am creating a app and website soo app will upload data soo without the use of cloud can i upload from app and display in the website reactjs please help.
@dogejohn5118
@dogejohn5118 6 ай бұрын
​@@codewithyousaf bro please tell me how to do that because i have to upload and curw it
@kyraezikeuzor
@kyraezikeuzor Жыл бұрын
You are a genius!
@jathujathu3304
@jathujathu3304 5 ай бұрын
can you explain in a video how to upload a entire image but not the path, bcz i need to display this in a various device
@heyyCyber
@heyyCyber 7 ай бұрын
what was the "Type(DATATYPE)" of the image variable in database
@BigSmoke-r9w
@BigSmoke-r9w 2 ай бұрын
why cant I see my image when I type the path in the browser url?
@codewithyousaf
@codewithyousaf 2 ай бұрын
in server side write this app.use(epxress.static('public')) imagine your images are in public folder. the path will be: localhost:[server port no].[image name]
@vijaykale936
@vijaykale936 8 ай бұрын
hi bro i have one doubt, in mysql database while creating database what we have to give the media type and type
@codewithyousaf
@codewithyousaf 8 ай бұрын
type string because we store the name of file.
@scotly_emi
@scotly_emi Жыл бұрын
What about uploading from different inputs and with multiple files I will need that also how can I upload videos or other files thanks
@codewithyousaf
@codewithyousaf Жыл бұрын
I will make for multiple files
@scotly_emi
@scotly_emi Жыл бұрын
Thanks alot
@ntvinh3697
@ntvinh3697 5 ай бұрын
thank you so much,it help me to much
@t-269shinobi3
@t-269shinobi3 5 ай бұрын
Thanks you so much
@-melkam-eregna
@-melkam-eregna Жыл бұрын
hello can you make a video on editing form that has a image input filed and use mysql to store the datas similar to this video
@codewithyousaf
@codewithyousaf Жыл бұрын
I am working on a project I will implement all the concepts I will share you tomorrow.
@MarvinGuzman-nd8xj
@MarvinGuzman-nd8xj 6 ай бұрын
Why my database (mysql) is returning an image type (buffer) and an array of data not an actual image name? btw the column's data type for that is BLOB.
@codewithyousaf
@codewithyousaf 6 ай бұрын
change it to string
@nahasathossainnibir2410
@nahasathossainnibir2410 Жыл бұрын
25:52 From where did you get data.image?
@codewithyousaf
@codewithyousaf Жыл бұрын
Firest fetched then stored in data then used that
@kyraezikeuzor
@kyraezikeuzor Жыл бұрын
Amazing helpful video!
@arthurkhallifa
@arthurkhallifa 5 ай бұрын
Thanks!
@edehchinedu4554
@edehchinedu4554 4 ай бұрын
it worked
@Trissandro
@Trissandro Жыл бұрын
What's the type you used to save the image? BLOB?
@codewithyousaf
@codewithyousaf Жыл бұрын
String I just save the name of the file and upload that file to the server.
@jathujathu3304
@jathujathu3304 5 ай бұрын
@@codewithyousaf how to upload entire image
@theterse
@theterse 7 ай бұрын
okease wen you make one project put the source code to this because we try as you doing
@arunkatoch9480
@arunkatoch9480 Жыл бұрын
Thanks man
@warzonehacks4915
@warzonehacks4915 Жыл бұрын
Whenever I upload an image, it is giving me an object that has an array in that array there are alot of numbers, first my image type was BLOB then I saw that you are using string so I changed it to varchar, what is the problem?
@codewithyousaf
@codewithyousaf Жыл бұрын
Follow the tutorial you will be able to upload it. that is string because I am storing the name of file in database.
@ashickri3316
@ashickri3316 Жыл бұрын
will you upload the source code?
@aymenshili3267
@aymenshili3267 Жыл бұрын
awesome bro !
@frendleeneyhburhod57
@frendleeneyhburhod57 11 ай бұрын
I just can't show it together with the other data bcoz the image's prototype is undefined. In order to show the image it needs to specify the array [0]
@mulualemewnete6433
@mulualemewnete6433 Жыл бұрын
it is very help full but no source code can you attach ?
@waffleman2226
@waffleman2226 9 ай бұрын
better than chat gpt i agree
@scotly_emi
@scotly_emi Жыл бұрын
Do you have anyway I can contact you for some questions am working on my website but am running into problems thanks a lot for your tutoring it has been really helpful
@rabindramahato6950
@rabindramahato6950 Жыл бұрын
Thanks 🎉🎉
@prathaphangodi1310
@prathaphangodi1310 Жыл бұрын
how display multipel images
@zahmunjie8152
@zahmunjie8152 11 ай бұрын
database image column is it blob??
@codewithyousaf
@codewithyousaf 11 ай бұрын
No string I stored the name of Image
@zahmunjie8152
@zahmunjie8152 11 ай бұрын
thanks man.. i figured it out.. @@codewithyousaf
@AdnanKhan-q5n1l
@AdnanKhan-q5n1l Жыл бұрын
i want to display all the images into different react component by fetching from database Can u share that code part here?
@codewithyousaf
@codewithyousaf Жыл бұрын
1: use redux 2: fetch in parent then pass to child components
@Roozikhan565
@Roozikhan565 Жыл бұрын
❤❤❤
@jorgesustaita-c8f
@jorgesustaita-c8f Жыл бұрын
in the data.image how i define image? please
@nahasathossainnibir2410
@nahasathossainnibir2410 Жыл бұрын
did you find the solution?
@Roozikhan565
@Roozikhan565 Жыл бұрын
❤❤❤❤
Complete Login Logout in React, Node/Express, and MySQL
40:39
Code With Yousaf
Рет қаралды 34 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 89 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 16 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4,2 МЛН
🤯 Express.js 5 is here (since a month already, actually)
9:58
Turning bad React code into senior React code
13:10
Cosden Solutions
Рет қаралды 92 М.
Upload multiple files in React
12:26
Js-Craft Academy
Рет қаралды 878
Store Image in Base64 in MongoDB Using MERN Stack
22:35
Daily Tuition
Рет қаралды 64 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 487 М.
How To Handle Permissions Like A Senior Dev
36:39
Web Dev Simplified
Рет қаралды 91 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 89 МЛН