This my last year of computer science and with the pandemic it's been hard to stay motivated to learn but your tutorials have been absolute gold. thank you!
I've been seeking a list of all possible methods for storing and you're the only one that i featured it, plus using a timestamp on it much respect Dary, A respectable effort, Good job
You saved me I searched for more than one hour and couldn't fix the problem. And your tutorial just helped to solve it. Thank You HOpe i finish my project on time..
one detail, when your image file name contains spaces, you need a trim($request->title) or Str::slug($request->title, '-') to save well thanks for the video
it's been 3 days since I started building my own project. I am super excited to see the outcome. I request guru ji to review my code. I will share it once it's done.
The create method is used to display a form for creating a new resource, while the store method is responsible for storing the submitted data into the appropriate storage
Thanks for the video but I have one concern though. The getSize method returns 154771 kb. Does that mean the image is 154mbs? as 1000kb makes 1mb? Is it realistic for that downloaded single image to be 154mbs?
In addition to reading and writing files, Laravel can also provide information about the files themselves. For example, the size method may be used to get the size of a file in bytes. There's a difference between kilobytes and bytes!
I was unable to get the file array when dd instead I can see only the file name I uploaded. I was using accept="image/*" attribute in html. Can any one reply?
i am having a problem ... when i upload my image to the public folder it doesn't register as an image instead it transforms into a file called phpA383.tmp ... please any help ??
Hello, how to save the images in a folder being created by laravel itself with the date of the month. Ex: 01/2022 and sequentially 02/2022, 03/2022. Please can someone explain?
Hello brother. Hope u alright. I upload laravel project on cpanel. First create folder outside public_html with the name of realestate, where I extract my project. And place public folder inside public_html folder. My all images are showing on the website. But The problem is that when I upload images it never save/upload to public images folder. I don't know how I can solve this issue. Maybe somewhere I need to set path.. Help me to solve the issue.?
Sir i have applied your method but i dont know why it is not inserting data in mysql db also it doesn't showing me any error and the form is just refreshing what to do sir ? Plz help me it is very important
@@codewithdary thankyou sir for the video iam wat hing yoyr video to learn more about laravel 8 and also watching traversy media laravel 8 video by alex garret
Couple of minor items this video: You added Headquarters data/table a few videos back but you removed the 'headquarter' table fields from the show.blade.php view for this video. Took me a few minutes to figure out why I was getting an error. We never added Headquarter data for 'Mercedes'... Also, 'unique:cars,name' should be added to the cars.name validation or things get really weird as you play with this. Especially since 'Mercedes' had been added to the 'cars' table in a previous video... but, of course, without the picture. Ciao.
LETS CONNECT THROUGH INSTAGRAM.
instagram.com/codewithdary
This my last year of computer science and with the pandemic it's been hard to stay motivated to learn but your tutorials have been absolute gold. thank you!
Whoa, this makes me feel good. Hope I can keep motivating you.
@@codewithdary Can you make a tutorial of how to delete old picture when someone updates a picture? And also make a tutorial of how to make slugs?
I've been seeking a list of all possible methods for storing and you're the only one that i featured it, plus using a timestamp on it
much respect Dary, A respectable effort, Good job
Thank you Mohammas! Let's make magic here ;)
You saved me I searched for more than one hour and couldn't fix the problem. And your tutorial just helped to solve it. Thank You HOpe i finish my project on time..
Thank you & I hope you do brother!
one detail, when your image file name contains spaces, you need a trim($request->title) or Str::slug($request->title, '-') to save well
thanks for the video
Thanks a very good point Francisco, thank you!
Thank you so much! You really saved my project!!!!! :D :D
Glad I could help!
am soo happy for your tutorial bro, more than a developer
Thank you so much
I'm really happy that this video has 0 dislikes ♥
Appreciate it!! ❤️
and now ?
Now he has 6 dislikes
This video saved me!!! Thanks a lot! you are amazing!
Glad it helped!
it's been 3 days since I started building my own project. I am super excited to see the outcome. I request guru ji to review my code. I will share it once it's done.
Noted!
@@codewithdary thank you guru ji.
Oh ho.. that was really amazing! you have done a great job. thanks for your video.
Thank you so much Rimon :)
Dary thank you. @7:50 to validate or limit a file size you need to use 'size:5048', not 'max:5048'
Thank you for watching Vadim! Small issue there, luckily you saw it ;)
Would love to see this on your own MVC framework from past videos also
Noted Poly.
What if we want to use that image from frontend like react? And thank you for the video Dary, your videos are always useful to me
i am your big fan sir
thx man for this video.
No problem!
Why is the previous part on private? And thank you very much for your hard work.
very very helpful, thank you
Glad it was helpful!
Well explained.
Thank you Harizon!
KING!!!!
Hero!
it helped dude............tnx
Lovely :)
error:Call to a member function extension() on string
why??
Make sure that you got enctype=”multipart/form-data” in your form.
@@codewithdary Thank u it work😊
Very straight forward video
Thanks!
you have tutorial upload image datatable server side with modal bootstrap?
No I'm sorry :(
Thanks
No problem!
WA youuuuuneeeeeeees wafiiin a huuuushii , nssbo melto db ?
Please sir, can I use the knowledge here to upload an image from my database to the view part ? For now, am building a project in oop
Definitely!
awesome
Thank you Joshua!
Could you make tutorials for making restful api????
I might do it in the future :)
Thank you Bro, you are amazing !
Thank you so much Beksultan!
how i can make image optional? pls tell me i try to remove required but gives me error " Call to a member function extension() on null "
Optional images should be set inside the migration
hello thanks for the tuto but i want to make image upload optional not required i remaoved from validation but still not work any help???
Do you have an idea on how to solve this issue? Let me know what you're thinking so I can see what should adjust :)
Nice
Thanks!
What method store is used for?
The create method is used to display a form for creating a new resource, while the store method is responsible for storing the submitted data into the appropriate storage
Great tutorial!! :-)
Thank you Christian!
Thanks for the video but I have one concern though. The getSize method returns 154771 kb. Does that mean the image is 154mbs? as 1000kb makes 1mb? Is it realistic for that downloaded single image to be 154mbs?
In addition to reading and writing files, Laravel can also provide information about the files themselves. For example, the size method may be used to get the size of a file in bytes. There's a difference between kilobytes and bytes!
@@codewithdary Mhh, how did I miss your response... thank you, it's clear now!
I was unable to get the file array when dd instead I can see only the file name I uploaded. I was using accept="image/*" attribute in html. Can any one reply?
i am having a problem ... when i upload my image to the public folder it doesn't register as an image instead it transforms into a file called phpA383.tmp ... please any help ??
I think something if wrong with adding the extension to it
Hello, how to save the images in a folder being created by laravel itself with the date of the month. Ex: 01/2022 and sequentially 02/2022, 03/2022. Please can someone explain?
Hello brother. Hope u alright.
I upload laravel project on cpanel.
First create folder outside public_html with the name of realestate, where I extract my project. And place public folder inside public_html folder.
My all images are showing on the website. But
The problem is that when I upload images it never save/upload to public images folder.
I don't know how I can solve this issue. Maybe somewhere I need to set path.. Help me to solve the issue.?
I recommend you to play around with dd() inside your project to find the correct path.
come back guru ji. We need you.
I'll be back!
@@codewithdary 🤓
💯
Images were stored in public/images folder, but were not visible in view with blade changes :/
Are you a British or Australian? You speak English very well.
I'm Dutch! Thank you man, appreciate the kind words! :)
When I try to print the image it says that $car is undefined
But the paragraph/title work? That's strange.
@@codewithdary if I delete $car works, I don't know how to solve
symbol "$car" is declared but not used
Sir i have applied your method but i dont know why it is not inserting data in mysql db also it doesn't showing me any error and the form is just refreshing what to do sir ? Plz help me it is very important
Source code is available on my Github :)
@@codewithdary sorry sir your method is correct i just forgot to add enctype in the bootstrap form method post which had given me so much pain
@@codewithdary thankyou sir for the video iam wat hing yoyr video to learn more about laravel 8 and also watching traversy media laravel 8 video by alex garret
waaaaaaaaaaaaach a anaaaaaaaaaaaaaaas
oooo aaa aaa makanssm3ch rassi
@@prodinfo19 hhhhhhhhhhhhhhhh
mhzoooooooooooooooooz anaaaaaaaa
@@letslaugh2411 terma bazoulaaa ooo khalti l3gouzi dima tal3a habta mkwezzaa oooo aaaa aaa
@@prodinfo19 rachid khoya dkhaltni khrrajni wah wah wah
@@letslaugh2411 hahowa tss7i7 khalti l3douza dakhla wa9fa mora sa3a mkwezaa oooooooooooo zid zak hit that take that
request->name doesn't work for me and it still shows the /tmp/asdkjaw name instead of the files original name.
same for me
@@harshalchaudhary8280 make sure that your create.blade > form has action="/cars" enctype="multipart/form-data"
bruhhhh wtf i dont know what just happen i just copy what i can im still a newbie man i should shift hahahahahahah what am i doing man
We’ve all been there man!!
old method
What's the new method? :)
Couple of minor items this video:
You added Headquarters data/table a few videos back but you removed the 'headquarter' table fields from the show.blade.php view for this video. Took me a few minutes to figure out why I was getting an error. We never added Headquarter data for 'Mercedes'...
Also, 'unique:cars,name' should be added to the cars.name validation or things get really weird as you play with this. Especially since 'Mercedes' had been added to the 'cars' table in a previous video... but, of course, without the picture.
Ciao.
awesome
Thank you :)