How To Make Responsive Image Gallery With HTML CSS JS | Lightbox Image Gallery Design

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • Learn How To Make Responsive Image Gallery With HTML CSS JS | Lightbox Image Gallery Design Tutorial Step by Step
    ❤️ SUBSCRIBE: goo.gl/tTFmPb
    In this video we will learn to make an responsive image galley on HTML website, When we will click on any image of the galley then the same image will popup in the center of website and we can also check the next and previous images by clicking on next and previous icons. All image will have captions that will be displayed just below the image.
    Download Images: drive.google.c...
    ---------------------------------
    recommended course:
    ❤️ Complete website Using HTML and CSS
    ✔️ 8 Complete website step by step
    ✔️ Source Code Download
    ✔️ 76 Lectures, 12 Hours Video
    ✔️ Course Completion certificate
    👉 easytutorialsp...
    -------------------------------------
    Recommended Videos:
    ► CSS Grid Layout Tutorial for beginners:
    • How To Create A CSS Gr...
    Learn Complete HTML and CSS from basics:
    ► • HTML And CSS Tutorial ...
    Make A Complete Website for college using HTML & CSS:
    ► • How To Make A College ...
    How to make a Business website step by step:
    ► • How To Make Website Us...
    How to make personal resume website step by step:
    ► • How To Make A Website ...
    How to make an Ecommerce Website Design:
    ► • How To Make eCommerce ...
    How to make travel website design with HTML CSS Bootstrap:
    ► • How To Make A Website ...
    -------------------------------------
    Affordable web hosting (coupon- EASYTUTORIALS)
    👉 easytutorialsp...
    My recommended tools and tutorials
    👉 easytutorialsp...
    -------------------------------------
    ◼️ Source code link is shared in community post for all my coding videos exclusively for channel members (only channel members can see)
    Join Channel Membership:
    ► / @greatstackdev
    ----------------------------------
    Image credit:
    www.pexels.com/
    -------------------------------------
    Like - Follow & Subscribe us:
    ◼️ UA-cam: goo.gl/tTFmPb
    ◼️ Facebook: goo.gl/qv7tEQ
    ◼️ Twitter: / itsavinashkr
    ◼️ Instagram: / iamavinashkr

КОМЕНТАРІ • 165

  • @Lone.Wolf1976
    @Lone.Wolf1976 2 роки тому +7

    Hello Avinash! I have been doing one of your tutorials randomly a day and I first want to thank you for sharing your knowledge with us and providing resources for hte lesson! (images and lightbox code) This kind of tutorial is so helpful to someone like me because it is short and to the point teaching how to make a simple website that looks good and is resposive - for those of us who are struggling finding time between work, family and other duties, a quick 10 minute tutorial code along like this is such a great way to learn and does not overwhelm a work and stress saturated brain with learning coding. I hope I can become a web developer and you are such a great help with your channel! Thank you!

  • @yeknafaskesh1257
    @yeknafaskesh1257 2 роки тому +3

    Gallery from start to finish - Excellent. Thank you.

  • @GabeDStudios
    @GabeDStudios Рік тому +6

    If you add a rectangular photo, it will not align itself right and if you adjust it with by pixels, it will distort the iamge, if you are having problems use with this, use this on you .gallery img on your CSS.
    object-fit: cover;
    aspect-ratio: 1;

  • @sebastiannuary
    @sebastiannuary 2 роки тому +13

    Bro you always save my Life!! Thanks so much...

  • @facundogutierrez4747
    @facundogutierrez4747 2 місяці тому +1

    Great video man, thanks for this tutorial ññññ

  • @ascontent12
    @ascontent12 2 роки тому +2

    I really like you videos sir

  • @astuces.tech2.0
    @astuces.tech2.0 2 роки тому +1

    I had an exam today ! This video is a life saver ! Thank you so much dude !

  • @sandrapitzke546
    @sandrapitzke546 Рік тому +5

    Great! Thanks for this video. Nice and easy, perfect !!!
    In "lightbox.css" I had to change the url of the folder "images" to the place where I saved "next.png", "prew.png" ... Thats all.
    One question left:
    Is there any easy way to change the language of the "lb-number"?
    I would like to change "Image 2 of 6" in "Bild 2 von 6".

    • @GreatStackDev
      @GreatStackDev  Рік тому +3

      just add below script
      lightbox.option({
      albumLabel: "Bild %1 von %2"
      });

    • @stevejohns3410
      @stevejohns3410 2 місяці тому

      Mine still don’t work even when I change the url. So I am missing icons on image. Everything else works fine.

  • @mikersson
    @mikersson Рік тому +1

    Excellent Tutorial!! Thank you so much. Clear and without extra stuff, just what is needed.
    Thank you again!

  • @KadriZA
    @KadriZA 6 місяців тому

    Dude you're awsome mate, you're the best, you're the King of "short effective tutorial UA-camrs"

  • @ayanbanerjee4119
    @ayanbanerjee4119 2 роки тому +1

    I always wait for you next video.Your videos are valuable and easy to understand keep making like this I learn a lot from this

  • @kehcelmacuja1518
    @kehcelmacuja1518 2 роки тому +1

    I really like your tutorials. You're explanation it's clear. Keep it up🤜

  • @Mikelscope
    @Mikelscope Рік тому

    You tutorials have always been very helpful while working on projects. The least i can do is appreciate you for these tutorials. Thanks a lot

  • @harmonicresonanceproject
    @harmonicresonanceproject 2 роки тому +2

    Really good videos, you have a great way of pacing the coding and explaining piece by piece. Thanks!

  • @Mikelscope
    @Mikelscope Рік тому +6

    An issue I noticed though is the navigation doesn't always display even after correcting the source of the image and I found an easy fix.
    Simply put the code below in the lightbox.css file and it fixes it. Hope it helps someone out there.
    .lb-nav a.lb-next,
    .lb-nav a.lb-prev{
    opacity: 0.4 !important;
    }
    .lb-nav a.lb-next:hover,
    .lb-nav a.lb-prev:hover{
    opacity: 0.8 !important;
    }

  • @ahmedebrahim3118
    @ahmedebrahim3118 2 роки тому +1

    Thank you so much.. More videos about javascript

  • @attilaguba856
    @attilaguba856 3 місяці тому

    Great! But for more dynamic you should use for or foreach loop! Following the DRY concept! Less code same solution 😉😊!

  • @super-TechCctv
    @super-TechCctv 10 місяців тому

    finally i am done these short project
    very helpfull tutorial

  • @doglovers1875
    @doglovers1875 2 роки тому +1

    Please turn on subtitles on the channel videos Thank you very much for the great effort

  • @THE_WOLF_-ey9zg
    @THE_WOLF_-ey9zg 11 місяців тому

    Thank for that) Im frontend student and this video helped me very very

  • @730_diksha_pimple3
    @730_diksha_pimple3 2 роки тому +1

    Thank you so much bro. Your videos are awesome

  • @sahilrehman5565
    @sahilrehman5565 2 роки тому +3

    Bro which laptop is best for coding

  • @mohammadmeraj40
    @mohammadmeraj40 4 місяці тому

    Very nice I liked 👍 ❤️❤️❤️

  • @rajnarayanjoshi1675
    @rajnarayanjoshi1675 2 роки тому +5

    Hello sir.. Can u please create a front end development course sir plss??

    • @anujmallick4548
      @anujmallick4548 2 роки тому +1

      Yes sir please. Start a fronted web development course.plz 🙏. N who wants this course plz comment on this. .. Thank you

    • @anujmallick4548
      @anujmallick4548 2 роки тому +1

      @Md Abu Raihan hope so brother.

    • @hiwayshoes
      @hiwayshoes 2 роки тому

      Yes! From the United States, we would love 💗 to have Easy Tutorials create a front end development course 😀… Cheers!

  • @mikersson
    @mikersson Рік тому

    Again, I was checking the galleriyand it works great!!, Man thank you so much!

  • @SHREYA_FILMS0
    @SHREYA_FILMS0 2 роки тому +1

    thank you making image gallery video

  • @golu998
    @golu998 2 роки тому +1

    Please make video about career or certificate course about web designing career

  • @syauqim9878
    @syauqim9878 2 місяці тому

    Very very thankssssss❤

  • @kalicnegr5592
    @kalicnegr5592 Рік тому +1

    thanks, you saved my grades 👍

  • @mayankgambhir4312
    @mayankgambhir4312 Рік тому

    Kitni pyari image gallery hai😊😊

  • @balazscsanyi3665
    @balazscsanyi3665 Рік тому

    Best image gallery for my webpage. Thank you.

  • @RNPCandCellphoneRepairShop
    @RNPCandCellphoneRepairShop 8 місяців тому

    you really help me alot thank you so much,
    this one is the video tutorial i needed for my gallery

  • @chase4972
    @chase4972 5 місяців тому

    Thanks Boss....

  • @prasadbagul2146
    @prasadbagul2146 11 місяців тому

    Very Awesome Video Sir 👍👍👍❤

  • @3dmonkeybizz
    @3dmonkeybizz Рік тому

    Fantastic tutorial. Thank you so much for this easy to follow process. It is super!

  • @super-TechCctv
    @super-TechCctv 10 місяців тому

    God bless you dear brother

  • @willofwingaming2165
    @willofwingaming2165 2 роки тому

    Your way of explaining is osm , thx for that video it's really helpful for me

  • @sonamohialdin3376
    @sonamohialdin3376 Рік тому

    Very beautiful gallery

  • @neets7519
    @neets7519 10 місяців тому

    Amazing! Thanks so much it all worked

  • @muhammadabdillahasyhar6596
    @muhammadabdillahasyhar6596 Рік тому

    thanks a lot bro, very helpful🙏🙏🙏

  • @harshaljuwale
    @harshaljuwale 4 місяці тому

    Thank You Bro you helped me !!!!!

  • @AJ-yk9rj
    @AJ-yk9rj 11 місяців тому

    such a great video thank you!

  • @alexismorales3712
    @alexismorales3712 2 роки тому

    You made me love they front-end

  • @abhishek__anand__
    @abhishek__anand__ Рік тому

    Great Video

  • @abdullahiayanle2293
    @abdullahiayanle2293 2 роки тому

    Thanks for posting this video, very useful

  • @stefaniacristini
    @stefaniacristini Рік тому

    The best! Always. Thank You

  • @sarojrajah
    @sarojrajah 11 місяців тому +3

    sir i am use the same process of your coding and all step by step but when click of gallary in any image then image is moving click next then next and previous then prev but icon not show (>,

  • @kavalisuresh8670
    @kavalisuresh8670 2 роки тому

    Thank you bro. Useful

  • @abhijithrnair8248
    @abhijithrnair8248 2 роки тому +3

    I tried this code with 8 other images with same names in this code. But I met 2 problems.
    1) here, 4 images are displayed in a row, bt in my result, only 3 were shown in a row.
    2) the icons (next, previous, close) were not shown in the web page. Bt its functions worked when I clicked in the respective positions.
    What went wrong when I tried the same code??

    • @pldash33
      @pldash33 2 роки тому +3

      I had the same problem too. As for the 3 in a row, make sure all your pics are a good size from the beginning, I did 700px x 680px. Then change the px in the minmax part of your grid-template-columns, he had 250px and when I put that my pics where 2 in a row, I went down to 200px and not they are 3 in a row and I want that. As for icons mine are not showing but work, so maybe cause of the icons themselves. Try new icons with the same name and see if they appear.

    • @pldash33
      @pldash33 2 роки тому

      Got it for the controls. Make sure you put them in an images folder, the server is looking for them in a folder titled images.

  • @ashsummers9034
    @ashsummers9034 10 місяців тому +4

    Everything works for me but I can't see the next, prev, loading and close icons. What do I do? Thanks

    • @TJANIMATEDWISDOM
      @TJANIMATEDWISDOM 9 місяців тому

      You are exactly like me

    • @kaanmiracgedik2910
      @kaanmiracgedik2910 9 місяців тому

      Did you find a solution?

    • @mcathul5909
      @mcathul5909 8 місяців тому

      I think lightbox.css file image path is not same as your project img path check

    • @sunnyraj2787
      @sunnyraj2787 6 місяців тому

      Check your css file.and rename the the prev next load etc button.and also check js code name👍

    • @pozhilanvicky1243
      @pozhilanvicky1243 6 місяців тому +1

      S bro i add lightbox. Css in head and change the path and rename it now it was working😊

  • @XSubaruX
    @XSubaruX 11 місяців тому

    u are my hero

  • @ogundejidavid9366
    @ogundejidavid9366 2 роки тому

    Thanks. the video is helpful

  • @ltdbd4442
    @ltdbd4442 2 роки тому +1

    JavaScript tutorial video, please

  • @michasosnowski5918
    @michasosnowski5918 9 місяців тому

    Thank you.

  • @aqsakhan8692
    @aqsakhan8692 2 роки тому

    A big thanks sir

  • @sonamuhialdeen7866
    @sonamuhialdeen7866 2 роки тому

    Very helpful

  • @shuvo8959
    @shuvo8959 2 роки тому

    You r awesome 😎

  • @nurlanmehdiyev7428
    @nurlanmehdiyev7428 2 роки тому

    Thank you veru=y much. You help me

  • @aruproy2983
    @aruproy2983 2 роки тому +1

    Can you make video on Notice or up coming events section like that

  • @pldash33
    @pldash33 2 роки тому +1

    Got it for the controls. Make sure you put them in an images folder, the server is looking for them in a folder titled images.

    • @qwerty415
      @qwerty415 2 роки тому

      its still not working on me bro :((

  • @franmg2631
    @franmg2631 Рік тому

    thank you so much, this is so helpful

  • @ekaterinadergam
    @ekaterinadergam Рік тому +1

    I followed your video and its great but can you help me please, I can't see the arrow and close icons on my images but I can just click on image and it goes to next one...Do you have any idea?thank you so so much!!!

  • @paulomagalhaes6752
    @paulomagalhaes6752 2 роки тому

    Este tutorial estou adorando......

  • @kingmarta1527
    @kingmarta1527 2 роки тому

    Très bien exécuté

  • @jonasrocha2836
    @jonasrocha2836 Рік тому

    A.M.A.Z.I.N.G 😍

  • @arnoldtabane
    @arnoldtabane Рік тому

    Wonderful tutorial, thanks but one question though.....is there a way to reduce the size of the image after clicking because somehow the image fills my monitor entirely? TIA!

  • @lexmark66
    @lexmark66 Рік тому +1

    epic

  • @byAn_INDIAN
    @byAn_INDIAN Рік тому

    thanx brooo

  • @phongthai2838
    @phongthai2838 2 роки тому

    vl luôn đầu cắt moi

  • @pallavipradhan156
    @pallavipradhan156 4 місяці тому

    Hii, everything is working well but the next,prev,close icons are not showing. How to fix that please say

  • @JadiRamanathan
    @JadiRamanathan 10 місяців тому

    Can you share the code with us? I would appreciate that? AMAZING video! Thank u

  • @RoBerTo89970
    @RoBerTo89970 7 місяців тому

    it's all fun and games, until I open the picture in PC display. as soon as I resize the window or open it in an other device (mobile or tablet), the picture is on full size, not responsive. do you have any solution for that?

  • @TJANIMATEDWISDOM
    @TJANIMATEDWISDOM 9 місяців тому +1

    Hello Mr. AVINASH
    the icons are invisible to some of us
    What should we do about it?
    Otherwise saying thank you is realy not enough compared to what you give us

    • @carizilla
      @carizilla 9 місяців тому +1

      In the css code it will say url(../images/prev.png) just get rid of the ../ - that is if the icons are in your image folder

    • @carizilla
      @carizilla 9 місяців тому

      Do that for them all

    • @TJANIMATEDWISDOM
      @TJANIMATEDWISDOM 9 місяців тому

      @carizilla it worked... ooo waoooo
      Thanks very much carizilla♥️♥️♥️

    • @TJANIMATEDWISDOM
      @TJANIMATEDWISDOM 9 місяців тому

      @carizilla what about using it in a big website, then on media queries.....

  • @mavisfromdeaj340
    @mavisfromdeaj340 2 роки тому +1

    Is there an alternative to grid-gap? My vs code editor is telling me it's obsolete and that I should avoid using it

  • @JeremyGarrettArtist
    @JeremyGarrettArtist 2 роки тому

    Excellent tutorial. Is there a way to have a transparent .png watermark superimposed onto the large displayed gallery pics?

  • @neethug406
    @neethug406 2 роки тому

    Good img gallery... please provide any good home page image slider if possible..

  • @frendiarahman
    @frendiarahman 2 місяці тому

    Can it be applied to React + Vite?

  • @DigitalFringeHub
    @DigitalFringeHub 5 місяців тому

    I have an issue.
    The issue is that the previous and next arrow icons are not displaying in the lightbox gallery despite having the necessary files in the correct directory and referencing them properly in the HTML file.
    Can anyone help me in this regard?

  • @lithembasolontsi7174
    @lithembasolontsi7174 7 місяців тому

    I want to write descriptions on the pop up images,how do l do it

  • @user-mj3kr7ut4x
    @user-mj3kr7ut4x 6 місяців тому

    Brother we images are white when they brighten

  • @kaanmiracgedik2910
    @kaanmiracgedik2910 9 місяців тому

    Hello, I added this to my website, but the icons do not appear. What am I doing wrong? Can you help me

  • @emmanuelaohueri3459
    @emmanuelaohueri3459 Рік тому

    so beautiful. it worked perfectly. but how do I connect this page to my web pages? I'm stuck trying to add it to my pages. I mean, like I want, when one of the menu options in my menu bar is clicked, it opens this lightbox picture page. how do I do that? please help? anyone help..

  • @sylasyukale5095
    @sylasyukale5095 Рік тому

    So I got the the part where I can hover over image 1 and click it but it seems to endlessly buffer?

  • @SergenteHartman2356
    @SergenteHartman2356 2 роки тому

    Hello Avinash. I did the tutorial some weeks ago and it worked. But today for some reason the modal only shows a white background, I thinks its a bug, do you know about any fix?

  • @puppythirtyeight9431
    @puppythirtyeight9431 Рік тому

    any chance I can send you my code, cos I have a problem with one page that has the lightbox on it and it is a nice distance away from the menu bar, but on another page with more images in the lightbox, it is higher, and cutting off the top of the images. I have compared the html code and css for both pages and they are identical...no idea what I'm doing wrong...thx!

  • @ultra-uniq
    @ultra-uniq 11 місяців тому

    What is the name of your color theme in vscode?

  • @omorfaruk6986
    @omorfaruk6986 2 роки тому

    Brother, please give we JavaScript project video please bro

  • @pozhilanvicky1243
    @pozhilanvicky1243 6 місяців тому

    I had issue with total number of photos it shows wrongly i was uploaded 12 photos its showing 29 what is the mistake

  • @JanetEschenlauer
    @JanetEschenlauer Рік тому

    Code for grid-template is not working.

  • @namankumar4782
    @namankumar4782 2 роки тому

    When did you add those navigating and cross icons ?

    • @jmv1969
      @jmv1969 2 роки тому

      It was referenced in the lightbox.css code

  • @AbrarulRhythm
    @AbrarulRhythm Рік тому

    ❤❤

  • @dancing-lover4899
    @dancing-lover4899 Рік тому

    I have use your code, it's work fine, but icon are missing like next, previous, close etc...How to solve this?

  • @shervicdave5520
    @shervicdave5520 2 роки тому

    did the image needed to he in the same sizes? what are the solutions if the image is not in the same sizes

    • @GreatStackDev
      @GreatStackDev  2 роки тому

      yes it should be in same size, you paint tool on windows to resize your image

  • @thelostadventurer4684
    @thelostadventurer4684 Рік тому

    he man thanks but for some reason i can see my next icon or close icon i can hover over it but i dont see it?

  • @stevebendersky2056
    @stevebendersky2056 4 місяці тому

    i cant see the previous and next icons

  • @projiz8837
    @projiz8837 2 роки тому

    can i use this script on my website or should i have license

  • @chasmboi
    @chasmboi Рік тому

    The close buttons didnt seems can u help?

  • @WindsorBurke
    @WindsorBurke Рік тому

    How do you make one image pop up with multiple images in it. I want to make a gallery within a gallery.

  • @mohammadrasheed7891
    @mohammadrasheed7891 2 роки тому

    How to create a graph and bars animation bottom to up use only html and css

  • @ltdbd4442
    @ltdbd4442 2 роки тому

    JavaScript tutorial video