Hello, friend, welcome back.
In a previous video I have discussed about that, things with you, how can create one of the multiple
images that is one of the page for the multiple images.
And also I added at the bottom, that is the input file type.
As far for uploaded, that image is considered a brand image.
So here I also want to do want to change it so that these in our emails here that will be as actually
multimedia, that will be the multimedia.
So into the multimedia.
Also, if you want to add that multiple file like here, if you choose right now, I choose one of the
images.
And if you press with the control, you can see you cannot actually add that multiple image.
Right.
That means you cannot select that multiple image.
So if you want to select that multiple images, they have the one of the simple commands we have to
use.
That means here after this, that means that is our input.
Feel the input type of the file.
And I name it as an image.
Right.
So now here I want to do I want to add on another option for the multiple.
So if you use this multiple now, you can actually able to access that multiple file that you can now
select as a multiple file.
Like I show you, if you click to save all and now if you refresh it.
And now it's showing of the arrow as a category multiple not found.
OK.
That means before I have already added our model limbs.
So that is our model.
What exactly are the things I did wrong?
Maybe they have some the spelling mistake.
So that is our model.
Right.
So here, make sure spelling is correct.
There is a model as a multi picture that means a multi picture.
And also I load it.
You can see that the spelling mistake that there's a multi picture.
Right.
So now that will be as a model, as a multi picture.
So that will be a model of to save all.
And now if you refresh it.
Yeah, it's perfect.
So now if you choose the images right now, if you can get the control.
Yes.
You can see friend now you can actually in select as a multiple images.
So with this code now, we are able to do that work.
So make sure you add this multiple.
That is a multiple option.
So after that, right now we have to do we have to create one of the round.
Right.
So here that is our form and that is our form filename as the images.
So that is one of the submit button.
So here that is a submit button as Abimael.
So that is a submit.
So when you click on the ad, the message will be redirect to our one of the root.
I think the positive will be just like the same before here I put on drought, so I put that out and
now I want to go and name this out.
I name it as a story, miss OK, store dot image.
So that will be at the store image.
And also that map will be the post method at our institute as a multiplatform data.
OK, so now I understand to create our this round now go to a web browser that is a multi router whether
I copy it.
OK, sorry.
Sorry.
From here there is a way out.
So from here on in the carpet that will be one of the post method.
Right.
So the result will be as opposed.
And now I want to do and also created in our brand controller so our out name as a story remains.
So now I copied and now in your name here, I name it as useful we as a store remains.
And now that will be also as a multi, multi or whatever you call multi add.
So this step up one, the name I want to add, and it is the brand controller and the creator of the
method as the story maise.
So I named it as it is.
OK Amzi.
So this time I thought we have to do the we have to create it in our brand controller.
So right now go to our brand controller in the PAN controller here.
So here after this, after this, I want to create another one as a public and then function and I create
one of the new as a one of the new Materazzi store images.
So when you work with the post method, I have already discussed about the things we do, we have to
do.
We have to use that request.
Right.
So now I want to use that request and then request.
So that will be our request.
So, friend, this portion will be just like to insert that image.
So before I have already inside this for a brand image.
That will be just like that same.
And the brand here, I have also used that image intervention here.
You can see that is a gallery store brand for here.
I have already used that image intervention.
So if you want to use that same package, you can also do that work.
So you will be just like the same, OK?
So that is some of the validation.
If you want to add some the validation, you can add that validation that will be also needed better.
Right now I copy everything, OK, I copy everything from here.
OK, copy everything.
OK, so I copied and now it'll be just like them.
I just like customization.
I have to do so in our extremest package.
The method here I want to do it.
That means here I passed it ok.
And so right now we don't need this.
So here I have already come out, I have already discussed about the things with you.
So here I remove it and then that that will be our procedure.
So I copy everything from our brand.
So now I want to update it.
Like, first of all, that is all I take one of the variable and name those images.
OK, he file that with the requested file.
From here, I pass on the images.
Right, so that they are filename.
I have already declared that is the image.
Right.
So that is our image portion.
So now a name that our filename as an image.
So then that will be that just like say I have already discussed about that, things we do for any get
around the unique ID and then dot and then get extension and the image will be resized.
If you want to change that image resize, I make it as a thirty three hundred by three hundred and save
it into the image folder.
I want to create another folder.
OK, name it as it will be as a multi multi.
So step up one of the folder on to create in our image folder.
Now go to our file into the public, the images.
So here I want to create another new folder and I name it as a multi that our multiple images, all
the multiple images will be saved in particular this folder.
Right.
So now I want to do that work.
And also here we have to also updated.
That will be as a multimedia perfect.
And after that, here also we have we have to insert this data.
So you have to insert this with our right now we are using our model name, our model name as a multi
picture.
So with the smaller the picture, I want to insert this data also here, only one feel will be needed.
We don't need this brand name.
So that will be our filename.
That is our database will name our database.
If you go to our multiplex here, you can see full filename as an image.
Right now I copy it and now it'll be our images.
And this image will be our last image that inspired our image will be uploaded with the creating one
of that unique genetic called Perfect's.
And here that is actually the our main positive.
Right.
So but if you want to work with the multiple images, then also we have to do a little bit work for
it.
So this will be just like very simple here.
Only we have to do we have to be had one of the foreach loop.
That means whatever the m one of the multiple images will be selected automatically.
You will look be load one time, second time, part time.
So for the reasons if you want to do that work, you have to add on the for loop.
So better here.
Look here, I want to do that on the forehead so that will be on the forehead.
So I added on to the forehead.
OK, so no in particular for this area I get all the raw data that this useful data and take the things
with this variable.
Right.
So no, I don't want to make it and I want to add as it whatever you name, I name it as a multi multi
underscore Ismay's.
So this type of one of the name I want to add.
OK, so it depends on you.
So right now I want to choose this one.
So right now that is our for loop.
So here we have to do we have to end it.
We have been with our total for loop after this.
OK, I just simply after this and it better I put on the note so and of the for each event.
So that will be our end of the foreach.
So that is our total loop.
Perfect.
So perfectly we done that work and then that is a name it as the image as a multi step in this image
as a multi.
Right.
So now I have to do I have to admit it, that means there is not we as a band immediately as a multi
Meiwes.
Also is will be as a multi-year right, and then it will be decided as a target by 300 three hundred,
it will be saved in our images and the Maltese.
Perfect.
And then last one.
And here we have to we have to pass that in our database, feed them at the majors.
So here it shall be said.
And here also one thing you have to do here, I have added one of the favorites after that multiple
image.
Right.
So if you want to add, then that means that your teammates feel that that is all Masefield right after
the team is still here, you have to declare one of the abbey.
So I just bought one of that with this.
So that will be our all the multiple images where it will be safe on here.
So that is our Falu and everything should be work.
OK, so that's all you have to do.
How much easier it is you can say.
So now let's check this out.
If you nucleases save all I get to save all.
So that is our motto now because refresh.
Everything is looking great now I on some of the multiple images, that is, I select us 40 minutes,
OK?
I still have 40 minutes right now.
Please open.
You can see it's not flowing as a four or five.
So after that, if you click on the Abbey Miss.
Yes, you can see it's not showing any arrow that means it should be worth like if you go to a database,
look like his eyebrows.
Yes, you can see it's not successfully inserted multiple images at a time and also saving our images
and our multiple folder and create around that unique I.D. and then DOT.
And after that, there is a clear extension.
So I hope you already know that concept.
I discuss everything we do a lot of the time, so it should be very much clear to you.
OK, so now our loop is always running.
And also, as you can see, it's now uploaded four images at a time.
So now let's check this out.
If you go to a folder that with our multi folder, yes, you can see every at the high uploaded four
images are 40 images is now successfully inserted.
And also our dimension has become changed now is actually 300 by 300 because of all here.
I have already decided with using that image intervention as a 300 by 300 so far.
The results you can see it's now actually uploaded everything as a 300 by 300.
Right.
I hope you enjoy it very much so.
Right now, I have already declared this part.
That means I know that the best images I already get all the data in our this my thought that was a
multiple here.
I get all that with our model.
I get all the data, take the things with this variable and also pass it in our index page.
So now if you want to visible it in our index page, that means here there have also not that a call
eight.
So here if you want to visible it, you can visible it.
So for doing this, I want to do better.
I know we don't need to say I want to remove it.
OK, so here I remove it.
So that is our another part.
So that is all another part that is all called for, and that is our call it so call it means actually
our disposition.
So here I want to visible all the multiple images.
So I want to use some of the most Jeffcoat.
So I take one of the Dave, I take one of the Dave sorry.
I take one of the dead and I want to do and to finish it.
So I finish it.
And here and here I take one of the class, I take on the class and I name it, I name it as a card,
like a card group that is also one of the bootstrap class.
And here I wanted one to add our Falchuk.
That means I will have to have the visibility, you the visibility.
You have to use that for each.
So I use that for each and now from our display.
So friend, I hope you already know about that part because here I pass it with the images.
That means that is actually our variable, all the data.
So here I have already all the multiple images data.
Right.
And I also pass it into the index page with the compact.
So now I want to learn to use it.
So I copied and now in our index here in the for loop, I name it as as multi.
OK, I name it as a multi multi.
So also you have to we have to finish it, we have to finish it for a loop.
So after this and for each.
So that will be at the end for it.
So here I want to visibility, I want to better add some of the card system then it's a little better.
I take one of the dev and here I want to do in the course on the class for this day.
OK, put on the class.
So its design actually depends on you.
OK, so I name it as a call and call and call him before I take the four will be visible I and make
the modified.
OK, so that will be as a call me for a modified one of the bootstrap class.
And here I take one of the dev and I want to take on the card actually then it shall be lucrative.
So I added on the class.
So class will be as a card.
OK that will be the card.
So that will be the card.
So the class card area I'm using all that will support.
I want to use that image stack here in the image tag if you want the visible.
So right now I get all the data with the multi.
So now with these first of all, you have to have that asset, right?
So with this, as I said, here, here we have to do we have to add that, first of all, it will be
as a multi.
That means with this multi, I happen to have to access our film database filename as a at this one.
That is actually the image right now.
And we don't use that as a with this multi and use that image.
I want to use that image and this multi will be also the dollar.
OK, that means that is a clear multi.
And will this multi on Dex's autonomous feel as the image now our image should be visible.
So let's check this out first, I just click the save all, and now if you go and refresh it, yeah,
you can see every Meijers is now perfectly visible.
So that is the things I want to do.
So here is now successfully display our images.
And also, if you want to pull some of the white hide for these images, you can add this white hide
like a.
So now that's all there Solia I want to do.
And now if you click on the Savol again.
So everything is visible together, refreshed.
Now I want to do want to add some of the multiple pictures, if you want to add it like here right now,
I want to do this on this one.
This one and this one.
OK, yeah, I choose another of four or five openly considering the four files so you can upload actually
multiple files.
That means you can upload it and file at the time.
Click on the Adams.
Yes, you can see it's not perfectly in there that all the data.
So here, friend, I didn't show any messages.
So if you want to visible that message, I hope you already know about it.
How can do that work?
OK, so here you can actually visible it.
So right now everything is great.
So multiple images is now uploaded at the time.
So how can do that work?
I hope the concept is very much clear to your friend.
So how much easily you can do that work.
So that is the main concept will be just like the same here.
All you have to do, we have to run on the for loop.
So that's all.
So that's all we have to do for uploaded the multiple images.
And now we are able to add that multiple images.
And how can visually I hope it's very clear to you, you know, next video I want to discuss about our
profile, how can I build the profile?
How can manage that change password profile everything step by step.
I will show you that things with a live example.
So thanks for watching.
I'll see you in the next video.