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

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

Комментарии • 175

  • @yeknafaskesh1257
    @yeknafaskesh1257 2 года назад +3

    Gallery from start to finish - Excellent. Thank you.

  • @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!

  • @GabeDStudios
    @GabeDStudios Год назад +8

    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;

  • @KadriZA
    @KadriZA 9 месяцев назад

    Dude you're awsome mate, you're the best, you're the King of "short effective tutorial RUclipsrs"

  • @mayankgambhir4312
    @mayankgambhir4312 Год назад +1

    Kitni pyari image gallery hai😊😊

  • @martinariiteahusson9461
    @martinariiteahusson9461 29 дней назад

    This was so easier done with your help, thank you so much 😁

  • @astuces.tech2.0
    @astuces.tech2.0 2 года назад +1

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

  • @sebastiannuary
    @sebastiannuary 3 года назад +13

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

  • @harmonicresonanceproject
    @harmonicresonanceproject 3 года назад +2

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

  • @ascontent12
    @ascontent12 3 года назад +2

    I really like you videos sir

  • @LiopleurodonJuice
    @LiopleurodonJuice 2 месяца назад

    Thank you! This is exactly what I was looking for and you explained it very well.

  • @mikersson
    @mikersson Год назад +1

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

  • @super-TechCctv
    @super-TechCctv Год назад

    finally i am done these short project
    very helpfull tutorial

  • @mikersson
    @mikersson Год назад

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

  • @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

  • @THE_WOLF_-ey9zg
    @THE_WOLF_-ey9zg Год назад

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

  • @sandrapitzke546
    @sandrapitzke546 Год назад +6

    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 5 месяцев назад

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

  • @balazscsanyi3665
    @balazscsanyi3665 Год назад

    Best image gallery for my webpage. Thank you.

  • @ayanbanerjee4119
    @ayanbanerjee4119 3 года назад +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

  • @super-TechCctv
    @super-TechCctv Год назад

    God bless you dear brother

  • @prasadbagul2146
    @prasadbagul2146 Год назад

    Very Awesome Video Sir 👍👍👍❤

  • @kehcelmacuja1518
    @kehcelmacuja1518 3 года назад +1

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

  • @mohammadmeraj40
    @mohammadmeraj40 7 месяцев назад

    Very nice I liked 👍 ❤️❤️❤️

  • @harshaljuwale
    @harshaljuwale 7 месяцев назад

    Thank You Bro you helped me !!!!!

  • @AndersonGonçalvesPinto
    @AndersonGonçalvesPinto Месяц назад +1

    it was perfect
    thanks

  • @kalicnegr5592
    @kalicnegr5592 Год назад +1

    thanks, you saved my grades 👍

  • @neets7519
    @neets7519 Год назад

    Amazing! Thanks so much it all worked

  • @ahmedebrahim3118
    @ahmedebrahim3118 3 года назад +1

    Thank you so much.. More videos about javascript

  • @facundogutierrez4747
    @facundogutierrez4747 5 месяцев назад +1

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

  • @730_diksha_pimple3
    @730_diksha_pimple3 3 года назад +1

    Thank you so much bro. Your videos are awesome

  • @muhammadabdillahasyhar6596
    @muhammadabdillahasyhar6596 Год назад

    thanks a lot bro, very helpful🙏🙏🙏

  • @stefaniacristini
    @stefaniacristini Год назад

    The best! Always. Thank You

  • @SHREYA_FILMS0
    @SHREYA_FILMS0 3 года назад +1

    thank you making image gallery video

  • @attilaguba856
    @attilaguba856 6 месяцев назад

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

  • @AJ-yk9rj
    @AJ-yk9rj Год назад

    such a great video thank you!

  • @sonamohialdin3376
    @sonamohialdin3376 Год назад

    Very beautiful gallery

  • @sarojrajah
    @sarojrajah Год назад +4

    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 (>,

  • @syauqim9878
    @syauqim9878 5 месяцев назад

    Very very thankssssss❤

  • @sahilrehman5565
    @sahilrehman5565 3 года назад +3

    Bro which laptop is best for coding

  • @willofwingaming2165
    @willofwingaming2165 2 года назад

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

  • @FullThrottleDiaries
    @FullThrottleDiaries 2 года назад

    Thank You!

  • @alexismorales3712
    @alexismorales3712 3 года назад

    You made me love they front-end

  • @FelipeSilva-to3qx
    @FelipeSilva-to3qx 25 дней назад

    Nice tip!

  • @doglovers1875
    @doglovers1875 3 года назад +1

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

  • @golu998
    @golu998 3 года назад +1

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

  • @3dmonkeybizz
    @3dmonkeybizz Год назад

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

  • @kavalisuresh8670
    @kavalisuresh8670 3 года назад

    Thank you bro. Useful

  • @abdullahiayanle2293
    @abdullahiayanle2293 3 года назад

    Thanks for posting this video, very useful

  • @franmg2631
    @franmg2631 Год назад

    thank you so much, this is so helpful

  • @rajnarayanjoshi1675
    @rajnarayanjoshi1675 3 года назад +5

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

    • @anujmallick4548
      @anujmallick4548 3 года назад +1

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

    • @anujmallick4548
      @anujmallick4548 3 года назад +1

      @Md Abu Raihan hope so brother.

    • @hiwayshoes
      @hiwayshoes 3 года назад

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

  • @ogundejidavid9366
    @ogundejidavid9366 2 года назад

    Thanks. the video is helpful

  • @XSubaruX
    @XSubaruX Год назад

    u are my hero

  • @abhishek__anand__
    @abhishek__anand__ Год назад

    Great Video

  • @shuvo8959
    @shuvo8959 3 года назад

    You r awesome 😎

  • @jonasrocha2836
    @jonasrocha2836 Год назад

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

  • @chase4972
    @chase4972 8 месяцев назад

    Thanks Boss....

  • @michasosnowski5918
    @michasosnowski5918 11 месяцев назад

    Thank you.

  • @nurlanmehdiyev7428
    @nurlanmehdiyev7428 2 года назад

    Thank you veru=y much. You help me

  • @kaanmiracgedik2910
    @kaanmiracgedik2910 11 месяцев назад +1

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

  • @pldash33
    @pldash33 3 года назад +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 3 года назад

      its still not working on me bro :((

  • @aqsakhan8692
    @aqsakhan8692 2 года назад

    A big thanks sir

  • @kingmarta1527
    @kingmarta1527 2 года назад

    Très bien exécuté

  • @ZKSUNIL
    @ZKSUNIL 6 месяцев назад +2

    Legend Watching Exam Day 😅😂❤

  • @aruproy2983
    @aruproy2983 3 года назад +1

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

  • @abhijithrnair8248
    @abhijithrnair8248 3 года назад +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 3 года назад +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 3 года назад

      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.

  • @DigitalFringeHub
    @DigitalFringeHub 8 месяцев назад +1

    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?

  • @sonamuhialdeen7866
    @sonamuhialdeen7866 3 года назад

    Very helpful

  • @ashsummers9034
    @ashsummers9034 Год назад +4

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

    • @TJMUM
      @TJMUM Год назад

      You are exactly like me

    • @kaanmiracgedik2910
      @kaanmiracgedik2910 11 месяцев назад

      Did you find a solution?

    • @mcathul5909
      @mcathul5909 11 месяцев назад

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

    • @sunnyraj2787
      @sunnyraj2787 9 месяцев назад

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

    • @pozhilanvicky1243
      @pozhilanvicky1243 9 месяцев назад +1

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

  • @byAn_INDIAN
    @byAn_INDIAN Год назад

    thanx brooo

  • @TJMUM
    @TJMUM Год назад +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 Год назад +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 Год назад

      Do that for them all

    • @TJMUM
      @TJMUM Год назад

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

    • @TJMUM
      @TJMUM Год назад

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

  • @paulomagalhaes6752
    @paulomagalhaes6752 3 года назад

    Este tutorial estou adorando......

  • @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!!!

  • @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!

  • @phongthai2838
    @phongthai2838 3 года назад

    vl luôn đầu cắt moi

  • @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

  • @frendiarahman
    @frendiarahman 5 месяцев назад

    Can it be applied to React + Vite?

  • @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!

  • @JadiRamanathan
    @JadiRamanathan Год назад

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

  • @electronicaentv1975
    @electronicaentv1975 Месяц назад

    Excelente pero mira que lo hice tal cual y no me aparecen los controles

  • @lexmark66
    @lexmark66 Год назад +1

    epic

  • @RoBerTo89970
    @RoBerTo89970 10 месяцев назад

    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?

  • @neethug406
    @neethug406 3 года назад

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

  • @ltdbd4442
    @ltdbd4442 3 года назад

    JavaScript tutorial video, please

  • @ultra-uniq
    @ultra-uniq Год назад

    What is the name of your color theme in vscode?

  • @projiz8837
    @projiz8837 2 года назад

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

  • @JeremyGarrettArtist
    @JeremyGarrettArtist 2 года назад

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

  • @namankumar4782
    @namankumar4782 3 года назад

    When did you add those navigating and cross icons ?

    • @jmv1969
      @jmv1969 2 года назад

      It was referenced in the lightbox.css code

  • @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?

  • @sylasyukale5095
    @sylasyukale5095 Год назад

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

  • @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;
    }

  • @pallavipradhan156
    @pallavipradhan156 7 месяцев назад

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

  • @omorfaruk6986
    @omorfaruk6986 3 года назад

    Brother, please give we JavaScript project video please bro

  • @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

  • @lithembasolontsi7174
    @lithembasolontsi7174 10 месяцев назад

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

  • @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..

  • @chasmboi
    @chasmboi Год назад

    The close buttons didnt seems can u help?

  • @HariniSreeKareti
    @HariniSreeKareti 9 месяцев назад

    Brother we images are white when they brighten

  • @JanetEschenlauer
    @JanetEschenlauer Год назад

    Code for grid-template is not working.

  • @thelostadventurer4684
    @thelostadventurer4684 2 года назад

    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?

  • @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?