Hello, friend.
Welcome back.
You know, previous video I have discussed about that, things with you, how can I add that image with
using that image intervention package?
And also how can resize it right now in this video and discuss about how you can add that multiple image
at a time?
So if you want to do that, work better.
First of all, I wanted to create one of the model for this one and also out of the migration files
if you want to create it, I think you already know about it what exactly you have to do.
So right now here I want to turn to page one of the migration file as a PSP are artisan and then make
I also want to create another model that music make model, and I name it as a multi multi picture.
So that will be as our model name, as a multi picture.
OK, and also on the creation of the migration file as a m, so that will be also created on the migration
file and also silbergeld around the models as they enter.
Now it's system created our model and also created our migration file.
So now if you go that means here.
So that is our controller and the controller.
That is our model.
So that is actually created of the file as a model.
That means one of the model as a multiple and also into the our database, into the database.
It is clear that all that another migration file that is multipage.
Right.
So here I only want to take one field for the images I take on the one field and I just named it will
be the emails, OK, I name it all the name as the image and also should be as a stream will be assisting.
So that's all.
So now I want to turn to because I Sable's that means right now if you migrated automatically, which
will be created on the table as a multiple pixels and also it will be created one field.
Right.
So no one to turn to make it.
So here, if you want to migrate, then you have to run on the PSP and Artisan and make it look like
the enter our migration is successfully done.
So if you wanna go to a database into the database, that is a Laravel, if you refresh it, there is
another one is that it is a multiple picture that is a multi picture.
And here I have added only one field as images.
So now to go on to update our model, that means right now here we don't need this, but here we do
need this that the app also.
You do need this index.
You need these.
So that is our model.
So into the model, I want to update it.
That means, you know, our here we have all said that our product available.
So I copied from the brand.
And now here after this, like after this, I simply add it.
So that will be the product that will so our field level field only that the one field of the images.
Right.
That mirror image.
So now I copy it.
So our only one field have so that we do need this.
So it will be only that image.
Right.
So I make it as our fillable now as a Savol.
So right now we don't need our model.
I remove it so.
Well, first of all, I want to do I want to add one of the men.
OK, so here I want to add on the menu for our multimeter.
So if you want to add this menu, I think you already know about it.
If you go to our view, that means right now we don't need this.
If you go to our views into the views area, that is navigation dropdown and the navigation dropdown
right now, I copy new one and here I save it.
And it'll be as a multi maze, like multi images.
So that will be our menu.
And here I want to do to create one of the one of the whatever that means for this one as a multi multi
and then it'll be as a multi image, whatever it wants.
Right now, I make it as a multi image.
OK, so now we have to do we have to create this out.
We have to create this out in our web.
GAUTIER Yes or no, go to our web cloud.
So after this better here, I put on the node as a multi image throughout.
So that will be our ultimate goal here.
I want to create it.
So but I don't want to copy it.
I want to copy it.
And here that will be as a multi maze.
I copy it and now I name it as a multi maze.
So friend here, if you want to create a new controller, you can actually create it.
So here you have really have to create another new controller for this one.
So right now here, I don't want to create new controller better into the brand controller.
I want to create this method.
I hope you already know that.
This texture.
So here, if you create all the new controller, you can create it.
Here you have to add this new controller name.
And is the new controller here.
You have to add that one, the method.
Right.
So it now better.
I want to use it in.
The band controller, so that will be our name and here I name it as a multi maise, multi Ismay's.
OK, so be the multi Masina, the Frankenthaler, I want to create one of the methode, I name it as
a multi multi Emelda inmates are better multi picture.
OK, so they step up on the map.
What I want to do and to create in our brand Condola.
So now go to our brand controller.
So first of all, we have to do we have to load one of the page.
Right.
That means here I have already put on the wall when the end user click into the multimedia seems to
be the key to our this method.
So now under the banner controller here after this.
I guess so here.
But I want to do some of the node.
So that is that is for multi Ismay's all method.
OK, so here I going to the other method as a public and then function and then ah my name will be as
a multi image.
That is the multipack.
Right.
So here what exactly we have to do.
First of all I want to do and load one of the page.
So if you want to load one of the page, what exactly you have to do here to return it.
That means a return.
And then you see the the return view here.
I want to do I want to.
That is our view page.
So that is our view right now.
And then The View zoom to the admin folder into that folder I want to do to create another new folder,
then something better, actually.
So the admin and the creation of the new folder and name it as a multi piece.
Like a multi piece.
So this type of one of the folder I have created and into the folder area I want to create of the new
file.
So here I create all the new file and my named the index index dot sorry played dot PSP.
Right.
So that will be our base.
So here if you want to add that link.
So it will be as a first of all as an admin folder and then the multi multi that she or our folder name
the multi piece.
So name it is a multi Ammu, all the IPSC multi piece.
And here I have created one of the file as indexed.
Right.
That was in display that be so perfect so that they are appropriate for locations.
And now here I load it right.
So I hope you already know about that basic fund functionality when that's our material Biran then we
be done redirect to that one of the few pages into the admin.
If the admin I have created the folder as a multi picture into the multi picture folder, it will be
redirected our index page.
Perfect.
So now I want to do all the work in our index.
So right now I want to do in our brand, uh, like there is a brand index page right here, but I don't
want to copy it so that within our brand and there is a brand index, I copy everything from here,
OK, I copy everything from here and now in our multiple picture and into the index here I posted.
So right now I want to customize it.
So here we have to change a lot of the things right now here.
We don't need this actually.
Look at that means the regular card, uh, here.
We don't need this.
That is our brand.
That is all brand.
So I name it as the all picture or multi picture, multi picture, OK, that will be the multi picture
and then that is our one of the.
So here I want to take this, Dave.
And here we don't need this.
I simply remove everything, OK?
We move everything from here and here.
That is our all brand advancer here.
We don't need this.
The segment I want to make it as a so here.
I want to change it.
I make it as a multi image.
Multi image.
OK, so there's is a multi maze and that is our form into the form media.
That is one of the tape.
So here we don't need this brand name.
I only need our D brand image.
Right.
So better here.
I want to do this dip that this dip.
I remove this tape and only I need our D dip and this Dave name, I named those case, I name it as
images and also to the source of that, or if you want the news to be displayed, this message with
the images that are filename is now updated and type is a file I type under the adamantine name to the
ad image.
OK, that will be the ad image.
Perfect.
So that's all you have to do.
And also that in out right now I want to do and I will create this out later and the tape will be needed.
A method will be the post.
OK, so that's all you have to do.
Now let's check this out.
If you not as save all.
So now I refresh this space.
So now see the other one as a multimeter, if you can get them all dismissed.
Yes, you can see how successful that is, a multi picture that is out here.
I want to display our images and see is a multi images and also here to display our brand image.
So from here, I want to turn to upload some of the images and after that, the administration.
Perfect.
So here I want to do first of all, I want to complete our select portion.
That means if they have any images, I want to get all the images and I want the visibility on here.
So if you want to do this type of work, what exactly you have to do to the brand?
That is our index here.
I loaded out this picture that this page.
Right.
Index page.
So now I want to the use of the look and don't forget all the data.
So but I want to do undertake one of the other images, images and now into the images with our model
name.
I have already created the model, so that is our model as a multiple stripe.
So now with this as a multi and beast and so with this multi piece, I wanted to get our all the data.
That means that all data.
Right.
So if you use that for this, that means this a model.
That means here, if you want to use it, you have to also add it right now.
I copy it.
So here also we have to do we have to use it before we use that our brand.
So now I want to go and use our new one.
So new one model name as a multi multiple.
So that is our multipage perfect.
So make sure you add your model names right now.
From here, we can actually get all the raw data.
That means I get all that our multiple image data from our this table.
That means the multi picture step.
And I get the things with this variable.
And now if you want to pass this variable, all the data you have to do, you have to make it as a compact.
Right.
So now I simply add that is a compact and compact without this image data.
How much?
Because you can see.
So that is the main concept.
I hope you already remember that part.
The main concept is should be already clear to you.
So right now we are using it to get all the data from our multiplication table and take the things with
this variable.
And here I pass it with the compact in the image, with the images that now we can actually access all
the images in index space.
Right.
That means that we are able to access it in the here.
OK, so here, if you want visibility, you can visibility.
So I will do the things later.
So right now I want to do I want to upload that image.
OK, so from here, the results of the form.
So how can upload these images.
But I want to continue this process.
In the next video I will show you that things with a live example.
So thanks for watching and I'll see you in the next video.