How to Create Photo Gallery Grid with Modal Window Lightbox

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2025

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

  • @AndrewNguyenOfficial
    @AndrewNguyenOfficial 9 ปีที่แล้ว +43

    I've seen a few other tutorials on TH-cam for this Lightbox feature, and this video is by far the best one and easiest to follow. Love how everything is explained. You sir, have earned a subscriber.

  • @tonsfocus
    @tonsfocus 7 ปีที่แล้ว

    Excellent tutorial! And bless you my son, for just skipping past the "now I'll type the same code for the next 20 list elements and make you endure my typos for five minutes." :-) Seriously, I'm looking at all kinds of code tuts, and this one stands out. Very well done.

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

    This is the absolute best tutorial I've seen. You have a great talent for teaching- thank you!

  • @dominicshib3276
    @dominicshib3276 4 ปีที่แล้ว

    Brad this really helped me out in a freelance project, all the gallery/lightboxes i tried looked bad on mobile, this one works best. And in the course you provide your students the code, thank you!

  • @erikjansouhoka
    @erikjansouhoka 9 ปีที่แล้ว

    This is the best tutorial for lightbox on TH-cam!

  • @jadehaeseldonckx8526
    @jadehaeseldonckx8526 6 ปีที่แล้ว

    I was trying to make something like this for the last 2-3 months and wanted to give up but this video helped me so much thank you very much for explaining so well!

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

    Thank you for posting this tutorial it was just what I wanted and is the best one I have done by far I will take a look at your site to see if you do slider I have done a few tutorials and can't get them to work, so doing this tutorial has lifted my excitement again thank you 🤓🤓

  • @PaperMachePatch
    @PaperMachePatch 7 ปีที่แล้ว

    Thanks!!! This is the only tutorial I have found that actually explained every detail in a easy way.

  • @kodelime7197
    @kodelime7197 10 ปีที่แล้ว

    Wow, this is exactly what I wanted! I was just thinking yesterday "I need to learn how to do a gallery with a modal." Thanks!

  • @CrisTekk
    @CrisTekk 7 ปีที่แล้ว +6

    If you are still having trouble running the script, include lightbox-plus-jquery.min.js instead. That will do the trick.

    • @VicStormTrooper
      @VicStormTrooper 6 ปีที่แล้ว

      Yup, this did the trick for me, thanks man!

    • @emmawitch1
      @emmawitch1 5 ปีที่แล้ว

      Thank you very much. I had same problem :) and I solve with this trick.

  • @dragandjordjevic6642
    @dragandjordjevic6642 7 ปีที่แล้ว

    Thanks a lot....It was worth watching your video.....all was perfect.....once again ...enormous THANKS! Greetings from Serbia!

  • @iamgsk.seeker
    @iamgsk.seeker 7 ปีที่แล้ว

    very easy and simple to follow... loved your style !

  • @nileshsaid2687
    @nileshsaid2687 7 ปีที่แล้ว

    This is best tutorial forever for Photo gallery!!!

  • @jainamshah5681
    @jainamshah5681 7 ปีที่แล้ว +3

    Hey, Thank You
    I was finding this Working Modal very badly...!!
    Also the way you Explained was Outstanding !
    Awesome Tutorial !

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

    Thanks for this video I was pulling my hair out with these other tutorials yours was way simpler and easier thank you :)

  • @markcabangon3885
    @markcabangon3885 9 ปีที่แล้ว +2

    Another great tutorial! One question/request: how do I keep the prev and next arrows visible w/o hover?

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

    Thank you so much for this. Simply a perfect tutorial!

  • @sunilsandhu6717
    @sunilsandhu6717 8 ปีที่แล้ว

    Excellent tutorial. Very easy to follow along with.

  • @memyself8043
    @memyself8043 6 ปีที่แล้ว

    very good tutorial, probably the best on youtube! thanks a million!

  • @CarlitoProductions
    @CarlitoProductions 7 ปีที่แล้ว

    I came here because the W3 lightboxes don't work here, and coming out satisfied that I can use it. Definitely suscribing.

  • @rajivkoiri1
    @rajivkoiri1 8 ปีที่แล้ว +3

    This is just awesome! You explained so well. Thank you!

  • @ICTBangladesh-mp6hr
    @ICTBangladesh-mp6hr 4 ปีที่แล้ว

    Thanks a lot. I have got a valuable tutorial, you have described in depth and i understand very well.

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

    Thank you so so much, the best and easiest tutorial to follow!! Liked and subscribed!!

  • @madmanww
    @madmanww 9 ปีที่แล้ว

    Nice tutorial! Learned so much. Many thanks!

  • @rodgedulnuan1450
    @rodgedulnuan1450 9 ปีที่แล้ว

    You're a great teacher Brad Schiff! Every time I watched your videos I learn a lot of Diskarte (means moves).
    I have question regarding the "group" class you have used in the image wrapper. What's the used of it and what's the behavior/attribute of this class? Is it for clearing floats?

  • @cajegoes
    @cajegoes 7 ปีที่แล้ว

    Hello Sir, Thanks a lot for your great tutorials. Its been so helpful for me.

  • @leonardocosta6038
    @leonardocosta6038 8 ปีที่แล้ว

    Awesome teaching man ! keep it up !

  • @HezyFoShizy
    @HezyFoShizy 6 ปีที่แล้ว

    Awesome tut! I was wondering if I could add a sidebar to my modals to have say a, h1 tag, a p tag, and button. Is this possible? I want to give a description and button to link to another site.

  • @at7202
    @at7202 7 ปีที่แล้ว

    Such a good tutorial. Very well explained.

  • @pawpaaj
    @pawpaaj 9 ปีที่แล้ว

    Brief and nice explanation, thanks!

  • @likestar314
    @likestar314 7 ปีที่แล้ว

    For those of you who are having trouble, have a look at index.html in examples folder and you need to use files from the dist folder NOT from the src folder

  • @lukehero
    @lukehero 6 ปีที่แล้ว

    How do you stop very large images being bigger than the viewable area?

  • @hairyhaggis7431
    @hairyhaggis7431 8 ปีที่แล้ว

    Great video, shame videos do not get posted on here more often.

  • @michelecarroll5338
    @michelecarroll5338 7 ปีที่แล้ว

    Great video as always! Is there a way to have image thumbnails instead of circles for the gallery navigation?

  • @vishnusingh5815
    @vishnusingh5815 8 ปีที่แล้ว

    Thanks...very nicely explained...keep posting vids...more like this objective based

  • @SpicyboyCharlz
    @SpicyboyCharlz 10 ปีที่แล้ว

    Awesome! I was just about to start a new project that needed one of these, but it looks like this premade script is going to be so much quicker and easier than coding it from scratch!
    One question though, are the lightbox popups responsive?

  • @shihab3930
    @shihab3930 8 ปีที่แล้ว

    Is it possible to add button or icon over the images?

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

    my lightbox.js doesn't work. I attached jquery too. does it matter what jquery I attach. I have 1.1. Is 2.2 necesary?

  • @GuilhermeDornelasdaCosta
    @GuilhermeDornelasdaCosta 9 ปีที่แล้ว

    amazing tutorial!!! thx very much and please don't stop teachng!

  • @ruru-chan4229
    @ruru-chan4229 6 ปีที่แล้ว

    Explained perfectly! Thx a lot!

  • @charissawest472
    @charissawest472 7 ปีที่แล้ว

    What if you want to create a logo grid to modal info box solution? I have Ultimate VC Addons which has a modal window, but there doesn't seem to be a way to link it to a grid of logos.

  • @shihab3930
    @shihab3930 8 ปีที่แล้ว

    Super Teacher, Amazing !

  • @DavidShin
    @DavidShin 7 ปีที่แล้ว

    simple, clear, easy to follow Thanks!

  • @elizabethwhite775
    @elizabethwhite775 8 ปีที่แล้ว

    Amazing tutorial!!! i love it! thx very much

  • @pablopinedomusic
    @pablopinedomusic 6 ปีที่แล้ว

    Great video, thank you for your efforts. What about having many of one product image with different angles, sort of like a product will show in you shopping cart?
    anyone can help with that?

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

    Many thanks indeed!!! Awesome tutorial...

  • @FORMANNesque
    @FORMANNesque 8 ปีที่แล้ว

    Great video! Thanks!
    One question though...
    When I view my page in Chrome, Mozzila and Opera, the "next", "previous", "loading" and "close" images in lightbox are not showing.
    Do you know how to resolve this problem?

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

      I have the same problem. Could you find the solution?

    • @FORMANNesque
      @FORMANNesque 4 ปีที่แล้ว

      @@norewall Hi Gabriella....
      well, actually I did solve the problem... I remember I had to spent quite some time figuring it out, but in the end I managed to do it. Unfortunately, since I did that 3 years ago, I forgot what I actually did.
      I checked the code on my website... I use a JS script for the lightbox and the file is called "lightbox-plus-jquery.js". I found it somewhere on internet.
      Do you have the source code with the same name?

    • @norewall
      @norewall 4 ปีที่แล้ว

      Hi @@FORMANNesque! Thank you for your answer! Yes I have it!
      Luckily I could solve the problem on that night when I wrote you. I had a problem with the image folder ... ˇˇ
      I think it is better if I don't describe what I think about this ... xD Thanks again! :)

    • @FORMANNesque
      @FORMANNesque 4 ปีที่แล้ว

      @@norewall Well, the most important thing is that you've managed to solve the problem. :) Kudos to you!
      Yes, there are always these small details that make problems, especially with things such as these.
      I know I've had so many problems like this one while working on my project. :)
      Anyways, thank you for replying. :)
      Cheers! :D

  • @malays9070
    @malays9070 7 ปีที่แล้ว

    Just Awesome. I like it very much.

  • @kintalinaveesh6901
    @kintalinaveesh6901 7 ปีที่แล้ว

    do have any idea for videos? using light box

  • @gabrielandrada2019
    @gabrielandrada2019 7 ปีที่แล้ว

    this is so awesome and inspiring.

  • @veronicalindstrom8299
    @veronicalindstrom8299 7 ปีที่แล้ว

    Hi there!! Really really good tutorial!! :D
    I have a small problem.....the box-sizing in CSS file, won´t work. I can´t use it "the property is market invalid because it´s not supported by the current schema". I can´t see the problem..... Any ideas?

  • @maxpayne4694
    @maxpayne4694 8 ปีที่แล้ว

    excellent tutorials,thanks ...subscribed

    • @jasonjackop8361
      @jasonjackop8361 8 ปีที่แล้ว

      Max Payne Mine doesnt workkk please help

    • @jasonjackop8361
      @jasonjackop8361 8 ปีที่แล้ว

      Max Payne My one becomes smaller but it works just like his when i didnt have the lightbox javascripts

    • @maxpayne4694
      @maxpayne4694 8 ปีที่แล้ว

      i dont know worked fine for me .i used the same image as thumbnail and for high resolution.i used bootstrap and here is code :

    • @jasonjackop8361
      @jasonjackop8361 8 ปีที่แล้ว

      Max Payne Dw i tweaked lightbox.css to make the modal view smaller.

  • @drashyakushwah5452
    @drashyakushwah5452 8 ปีที่แล้ว

    thank u soo much... grt tutorial... :)
    i have one ques. ....
    how to create image into thumbnails.. is their any software for this or i have to reduce image size in any editor ..??

    • @hassuunna
      @hassuunna 7 ปีที่แล้ว

      you can use paint software in your computer, no need for massive programs or edits

  • @yoyotanvir
    @yoyotanvir 8 ปีที่แล้ว

    I cant see the x in the lightbox and the code is all there. My websites folder is called "www" and i have those buttons in a folder called images and then put code url(../images/close.png) any help?

  • @Vlusion
    @Vlusion 7 ปีที่แล้ว

    Finaly found a good tutorial.

  • @marcfauve6971
    @marcfauve6971 8 ปีที่แล้ว

    thank you so much !!!!
    You re a great teacher !!!

  • @syedrashid2247
    @syedrashid2247 6 ปีที่แล้ว

    Instead of hard coding the images individually in code, is there any way to add the whole folder? If it is, then how to write the code for lightbox? Waiting for your professional guideline.

  • @文瑾-g3x
    @文瑾-g3x 9 ปีที่แล้ว

    thanks a lot! I like your teach style

  • @carlostark3858
    @carlostark3858 8 ปีที่แล้ว +3

    Hi! does this work with mp4 videos? how?

    • @kintalinaveesh6901
      @kintalinaveesh6901 7 ปีที่แล้ว

      i tried adding but didnt work.Do u have any idea?

    • @pavelp80
      @pavelp80 7 ปีที่แล้ว

      Search for blueimp gallery, they have something like this in demo.

  • @citizenbobx
    @citizenbobx 7 ปีที่แล้ว +2

    Nope, couldn't get it working. Even if you didn't fix the calls to the image img Image folder, whatever, it's supposed to be at least shadowboxing for you, but no dice.

  • @vyasarajsudharsan7582
    @vyasarajsudharsan7582 9 ปีที่แล้ว

    Really Great tutorial! Thank you so much master. You are great!

  • @muhammadhilmi5290
    @muhammadhilmi5290 8 ปีที่แล้ว +8

    If you guys have been following the video religiously and still didn't work, try to include the at the bottom of your page before the closing tag.

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

      +Muhammad Hilmi i did it , i also followed the video religiously but when im click on the images nothing happens, i think something with js file goes wrong. have u got any idea?

    • @muhammadhilmi5290
      @muhammadhilmi5290 8 ปีที่แล้ว

      +Ioanna Moraiti before the tag, it should be something like this, depending on where you put the lightbox.js file. Other than that, I followed the video heart and soul.

    • @ioannamor5430
      @ioannamor5430 8 ปีที่แล้ว

      Thank u,I found it, I had wrong path to the js file:))

  • @scameron7506
    @scameron7506 6 ปีที่แล้ว

    Thanks!
    You've made what seemed like a huge task, less than an hours work.
    I was worried that integrating lightbox features into my pre-existing grid would be difficult but this tutorial was VERY helpful :)
    Sub sub sub

  • @Falky1
    @Falky1 6 ปีที่แล้ว

    awesome tutorial thanks!

  • @halimn4937
    @halimn4937 7 ปีที่แล้ว

    I've just followed the step until 8:00 but still doesn't work. Is anyone have a clue to help me? Thanks in advance.

    • @halimn4937
      @halimn4937 7 ปีที่แล้ว

      I change lightbox.min.js to lightbox-plus-jquery.min.js and it's work.

    • @MS-kp6uv
      @MS-kp6uv 7 ปีที่แล้ว

      can you please send me the code .

  • @latestnews2022
    @latestnews2022 7 ปีที่แล้ว

    nice video with clear voice thanks a lot bro

  • @erturkyorulmaz7376
    @erturkyorulmaz7376 4 ปีที่แล้ว

    How can we make it responsible? (sm 1 column, md 3 column, xl 4 column)

  • @lukaszszmyd8767
    @lukaszszmyd8767 6 ปีที่แล้ว

    You are the best, thanks !!!

  • @graywadc
    @graywadc 9 ปีที่แล้ว

    How and what do I do fi I want to show video

  • @FalakNaz
    @FalakNaz 8 ปีที่แล้ว

    very well explained

  • @nanchyvgb
    @nanchyvgb 9 ปีที่แล้ว

    Thank you ..! Great tuturial

  • @ryanbarsatan
    @ryanbarsatan 9 ปีที่แล้ว

    do we need to inclue jquery for this to work?

  • @tinatao8636
    @tinatao8636 6 ปีที่แล้ว

    Hello everyone! Who knows where is the link of ‘ ...zip file ‘ ? I can’t find it. Thank you so much.

  • @11benmar
    @11benmar 8 ปีที่แล้ว

    Excellent :) Thank You so much .

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

    Anyone know how to filter images by categories and still be able to slide through the images only by that category?

    • @justinweigle7220
      @justinweigle7220 7 ปีที่แล้ว

      You may have figured out the answer to your problem already, but if you're asking about sectioning out images such as in, say, month and year. You just make use of the data-lightbox=" " part. Such as data-lightbox="June_2017" for whichever images are from June of 2017 and set data-lightbox="July_2017" for any images that are from July of 2017.
      However if you meant how to open an image into the lightbox view and then have a filter that you can flip through the categories, then I don't have an answer for you.

  • @chococat8257
    @chococat8257 8 ปีที่แล้ว

    how can we add lightbox to images inside a tab?

  • @tusharlad8837
    @tusharlad8837 7 ปีที่แล้ว

    Good explanation.. thank you.. :)

  • @FedericoKunz
    @FedericoKunz 7 ปีที่แล้ว

    Super, need time to dig in, am really a greenhorn at the very start.

  • @namesurname4873
    @namesurname4873 7 ปีที่แล้ว

    Lovely! Thanks a lot!

  • @ИгорьСоколов-л5п
    @ИгорьСоколов-л5п 7 ปีที่แล้ว

    Is it working with jQuery 3.x?

  • @giorgimshvidobadze6846
    @giorgimshvidobadze6846 9 ปีที่แล้ว

    Couldn`t find project`s zip. Please, tell me where is it?

  • @ashokkrishna2042
    @ashokkrishna2042 7 ปีที่แล้ว

    nice tutorial buddy thank you...!!!!!!!!!!!!!!!!

  • @isakhalmrast6388
    @isakhalmrast6388 9 ปีที่แล้ว

    Can you give the link to the jQuery file? i can't find the right one

  • @dolinydoliny2699
    @dolinydoliny2699 10 ปีที่แล้ว

    Thanks for this great tutorial!!!!!

  • @devikag2641
    @devikag2641 5 ปีที่แล้ว

    is it necessary to use thumbnail images
    cant we just reduce the size of image on website???

  • @trevormakiwa
    @trevormakiwa 7 ปีที่แล้ว

    Hey this is awesome I love it

  • @dthrt
    @dthrt 4 ปีที่แล้ว

    OMG, YOU ARE GOD! Thanks for the lessons!)

  • @thesurajbastola
    @thesurajbastola 7 ปีที่แล้ว

    how do you open lightbox at pageload

  • @mohammadtafhim454
    @mohammadtafhim454 6 ปีที่แล้ว

    how can i make it on wordpress

  • @Mickaaa5793
    @Mickaaa5793 7 ปีที่แล้ว

    I can t put more than 17 images in gallery. Please help... Thank you

  • @ShiroiRyuu05
    @ShiroiRyuu05 7 ปีที่แล้ว

    What am I supposed to type to jquery.js? You already have it there and I have no idea what it should containt and I also checked previous videos but I am lost. Can anybody help me with this issue please?

    • @justinweigle7220
      @justinweigle7220 7 ปีที่แล้ว

      Look up google hosted libraries. You should find your answer there

  • @DPLawlorFilms
    @DPLawlorFilms 6 ปีที่แล้ว

    Is there a way to use Word Press without HTML?

  • @mushroomchung97
    @mushroomchung97 8 ปีที่แล้ว

    i hope u can teach me from how to make the grid to here,, even the lightbox i downloaded it is abit different with the tutorial u shown :(

  • @nuriyyaruslanovna8995
    @nuriyyaruslanovna8995 7 ปีที่แล้ว

    thanks a lot. but firefox don't support it. how I can solve this problem ? )

  • @jamieruston8411
    @jamieruston8411 7 ปีที่แล้ว

    The second image on first bit doesn’t load

  • @TheAshkanify
    @TheAshkanify 8 ปีที่แล้ว

    i cant put a .png file in the images folder

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

    What is window lightbox

  • @predragslavkovic3215
    @predragslavkovic3215 8 ปีที่แล้ว +5

    How to make it responsive?

  • @AliSa-qm5xe
    @AliSa-qm5xe 9 ปีที่แล้ว

    very helpful thank you very much

  • @joselikescars
    @joselikescars 8 ปีที่แล้ว

    Where can i download this lightbox javascript file?

    • @raajnadar
      @raajnadar 8 ปีที่แล้ว

      lokeshdhakar.com/projects/lightbox2/ this is the official & original file that was used in this video.. have fun

    • @joselikescars
      @joselikescars 8 ปีที่แล้ว

      Thank you

    • @raajnadar
      @raajnadar 8 ปีที่แล้ว

      No problem (Y)