Laravel Tutorial : Upload Multiple Files/Images

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024
  • In this video, I am going to show you how to upload multiple images in laravel 8 by creating a small application.
    Skip to 17:07 if you just want the logic part of uploading multiple images.
    Code : github.com/sur...
    Timeline:
    00:04 Demo of Final Application
    00:47 Models, Database, Migration
    3:42 Blade Files
    9:20 Form Component for multiple image upload
    11:35 View all products
    15:04 One to Many Relationship
    15:41 Form Handling
    17:07 Storing multiple images
    21:11 View all images

ความคิดเห็น • 37

  • @khaitrinhviet
    @khaitrinhviet 2 ปีที่แล้ว

    Again, thank you! Very helpful! From Viet Nam with love

  • @candra9659
    @candra9659 2 ปีที่แล้ว +1

    thank you sir, now I can apply this to my project and your video is very good, the explanations and notes given are very easy to understand

    • @devhubNP
      @devhubNP  2 ปีที่แล้ว

      You are most welcome

  • @abuzarbutt8972
    @abuzarbutt8972 2 ปีที่แล้ว

    Your method and explaination is easy and good

  • @bashircodes
    @bashircodes 2 ปีที่แล้ว

    Thanks, this video solved my problem

  • @FailedArchaeologist
    @FailedArchaeologist 2 ปีที่แล้ว

    дякую, дуже корисно і просто все

  • @jawadsaleem7495
    @jawadsaleem7495 2 ปีที่แล้ว

    Great job bro u explained so we'll keep it up..👍🏻

  • @techwan7
    @techwan7 2 ปีที่แล้ว

    So good, thank you!!! Very helpful.

  • @freelancerfarhad
    @freelancerfarhad 2 ปีที่แล้ว

    thank you sir, this video is very helpful.. thank-you so much...

  • @priyalahot8442
    @priyalahot8442 2 ปีที่แล้ว

    this video is very helpful thank you..

  • @cambojabr2490
    @cambojabr2490 ปีที่แล้ว +1

    só o nice

  • @falearn7693
    @falearn7693 2 ปีที่แล้ว

    Thanks a lot sir

  • @kingchrisbreezy
    @kingchrisbreezy 2 ปีที่แล้ว

    Nice done sir, thank you so much. So, how display file/s based on file extension? ???

  • @khaitrinhviet
    @khaitrinhviet 2 ปีที่แล้ว

    thank you sir!

  • @abuzarbutt8972
    @abuzarbutt8972 2 ปีที่แล้ว

    We need more videos about laravel series

    • @devhubNP
      @devhubNP  2 ปีที่แล้ว

      More videos coming soon !!

  • @abuzarbutt8972
    @abuzarbutt8972 2 ปีที่แล้ว

    Excellent

  • @nikhilpatel5639
    @nikhilpatel5639 ปีที่แล้ว

    Use of undefined constant image - assumed 'image' (this will throw an Error in a future version of PHP ) error a raha he?

  • @TrikNgonlen
    @TrikNgonlen 2 ปีที่แล้ว

    awesome...

  • @ndzenyuygharlasamuel9220
    @ndzenyuygharlasamuel9220 ปีที่แล้ว

    How can i delete one image

  • @catalin-gabrielbalan7906
    @catalin-gabrielbalan7906 2 ปีที่แล้ว

    Hello sir, I have this problem: The POST method is not supported for this route. Supported methods: GET, HEAD. Is there any solution?

    • @devhubNP
      @devhubNP  2 ปีที่แล้ว

      check your web.php file.
      The route for /add-product must be of POST type 15:45 in the video.

  • @rakzam488
    @rakzam488 ปีที่แล้ว

    can you make an php version of that?

  • @stanleywodson2909
    @stanleywodson2909 2 ปีที่แล้ว

    very nice, what's name this theme ?

  • @amizayi
    @amizayi 2 ปีที่แล้ว

    Hello sir, I have this problem: Array to string conversion.

    • @amizayi
      @amizayi 2 ปีที่แล้ว

      Every photo I upload returns this error

    • @devhubNP
      @devhubNP  2 ปีที่แล้ว

      We only have an array named "$data" in out store method. So, maybe when using that, you are doing something like
      $imageName = $data.'-image'.....
      instead of $imageName = $data['title'].'-image'.....
      If it is not, please provide me with a little more detail and check your store function once again,

  • @skywalker2260
    @skywalker2260 ปีที่แล้ว

    excellent tuto 👍 .... mais un peu trop rapide ...(but too fast !)

  • @shahrozshakeel7191
    @shahrozshakeel7191 2 ปีที่แล้ว

    how to update images

    • @devhubNP
      @devhubNP  2 ปีที่แล้ว

      th-cam.com/video/Jme0D12A3Jg/w-d-xo.html

  • @shahrozshakeel7191
    @shahrozshakeel7191 2 ปีที่แล้ว

    HELLO Plz Tell How to update images plz

    • @devhubNP
      @devhubNP  2 ปีที่แล้ว +1

      I will make a video on it very soon.

    • @shahrozshakeel7191
      @shahrozshakeel7191 2 ปีที่แล้ว

      @@devhubNP waiting

    • @shahrozshakeel7191
      @shahrozshakeel7191 2 ปีที่แล้ว

      @@devhubNP Hello it's been two weeks

    • @devhubNP
      @devhubNP  2 ปีที่แล้ว

      was on vacation, sorry !
      th-cam.com/video/Jme0D12A3Jg/w-d-xo.html
      Here you go.