Laravel Tutorial : Upload Multiple Files/Images

Sdílet
Vložit
  • čas přidán 22. 01. 2022
  • 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/surojcodes/yt_mult...
    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
  • Věda a technologie

Komentáře • 37

  • @techwan7
    @techwan7 Před 2 lety

    So good, thank you!!! Very helpful.

  • @abuzarbutt8972
    @abuzarbutt8972 Před 2 lety

    Your method and explaination is easy and good

  • @khaitrinhviet
    @khaitrinhviet Před 2 lety

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

  • @jawadsaleem7495
    @jawadsaleem7495 Před 2 lety

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

  • @priyalahot8442
    @priyalahot8442 Před 2 lety

    this video is very helpful thank you..

  • @candra9659
    @candra9659 Před 2 lety +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

  • @freelancerfarhad
    @freelancerfarhad Před 2 lety

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

  • @bashircodes
    @bashircodes Před rokem

    Thanks, this video solved my problem

  • @khaitrinhviet
    @khaitrinhviet Před 2 lety

    thank you sir!

  • @abuzarbutt8972
    @abuzarbutt8972 Před 2 lety

    Excellent

  • @TrikNgonlen
    @TrikNgonlen Před 2 lety

    awesome...

  • @FailedArchaeologist
    @FailedArchaeologist Před 2 lety

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

  • @falearn7693
    @falearn7693 Před rokem

    Thanks a lot sir

  • @kingchrisbreezy
    @kingchrisbreezy Před rokem

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

  • @cambojabr2490
    @cambojabr2490 Před rokem +1

    só o nice

  • @abuzarbutt8972
    @abuzarbutt8972 Před 2 lety

    We need more videos about laravel series

    • @devhubNP
      @devhubNP  Před 2 lety

      More videos coming soon !!

  • @stanleywodson2909
    @stanleywodson2909 Před 2 lety

    very nice, what's name this theme ?

  • @rakzam488
    @rakzam488 Před rokem

    can you make an php version of that?

  • @catalin-gabrielbalan7906

    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  Před 2 lety

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

  • @ndzenyuygharlasamuel9220

    How can i delete one image

  • @nikhilpatel5639
    @nikhilpatel5639 Před rokem

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

  • @amizayi
    @amizayi Před 2 lety

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

    • @amizayi
      @amizayi Před 2 lety

      Every photo I upload returns this error

    • @devhubNP
      @devhubNP  Před 2 lety

      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 Před rokem

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

  • @shahrozshakeel7191
    @shahrozshakeel7191 Před 2 lety

    how to update images

    • @devhubNP
      @devhubNP  Před 2 lety

      czcams.com/video/Jme0D12A3Jg/video.html

  • @shahrozshakeel7191
    @shahrozshakeel7191 Před 2 lety

    HELLO Plz Tell How to update images plz