How To Load Images Like A Pro

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

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

  • @snc0lt
    @snc0lt Год назад +536

    one of the things i like about you, is that you rarely use any framework/library for your videos and just focused on the fundamentals...! Keep it up.!

    • @TheThirdWorldCitizen
      @TheThirdWorldCitizen Год назад +14

      He does talk a lot about react tbf, but decent amount of vanilla videos.

    • @cookieman.19
      @cookieman.19 Год назад +15

      He is the framework

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

      I agree, prefer not to be bogged down with a framework, for what I do they're overkill.

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

      yup, it helps to have more better understand, and get used to the logics

  • @JonHaa87
    @JonHaa87 Год назад +70

    1. I'd add an additional blur filter to the low res images, either in the browser or when generating them. Just upscaling them kinda makes them look crappy as you get lots of "square gradients" (for a lack of a better word) interpolating between the pixels instead of a nice smooth blurry version.
    2. As other have said, this effect is mostly already implemented into browsers/images. If you'd save the images as progressive, they'd automatically get sharper and sharper while they load, which requires less code and doesn't even need the download of the small image versions. However you could implement an additional blur effect on top of that while they're loading for a better effect, similar to what you've done in the video.
    3. The solution you've given in the video is bad as someone with scripts disabled won't see the high-res versions at all. I'd add the CSS class that hides them until they're loaded also within JS.

  • @rusicsemenov
    @rusicsemenov Год назад +24

    Hi Kail, thanks, good idea with pulse. And you can write in the keyframes 0%, 100% ... and 50%, instead repeat the same code.

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

    8:12 in addition to online tools most image asset CDN's have parameters , or a path, to serve specific image sizes.

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

    Been in web dev for 25 years, been a few since I was doing front end stuff. TIL some new to me properties, thanks!

  • @sunraiii
    @sunraiii Год назад +11

    Web development wouldn't be where it's at without RUclips. Great video!

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

      nah, without content creators

    • @rproctor83
      @rproctor83 Год назад +3

      @@calimio6 nah, without internet

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

      Did you ever hear about books? Or sites like MSDN?

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

      ​@@merlinwarage Congrats on being a dick under a positive comment.
      Also, dev books are 80% fluff, 20% content and MSDN is for boomers.

  • @MrMikopi
    @MrMikopi Год назад +5

    I'm not that into front end side,
    But video making of yours is brilliant!
    I've even checked if I increased playback speed, but no, it was you talking at a good amount of speed, talking only about important stuff.
    Visual demonstrations are on point also.
    Thank you, good work.
    Edit: 11:36 that is the fastest bug fixing I've ever seen haha

  • @JoseRuiSantos-ruisoftware
    @JoseRuiSantos-ruisoftware Год назад +11

    If you already know the image dimensions before loading it, then you should add the width and height attributes to you img. This avoids the annoying effect of seeing the content moving around during image loading

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

      also known as CLS, which is Cumulative Layout Shift, which will impact the page SEO ranking

    • @thalison-dev
      @thalison-dev Год назад +1

      @@YuriG03042 What do you mean ? using width and height impact SEO ranking negatively?

    • @JoseRuiSantos-ruisoftware
      @JoseRuiSantos-ruisoftware Год назад

      @@thalison-dev It is the other way around. Not using width/height affects the SEO ranking negatively and increases the cumulative layout shift score. Google for "cumulative layout shift"

    • @rproctor83
      @rproctor83 Год назад +2

      ​@@thalison-dev After 20 years fuckig around with Google bullshit I can tell you without a shadow of doubt that most all of these SEO tips are an utter waste of time and effort. If you ever look at some of the top ranking sites in highly saturated market you will see most of them are trash, a million console errors, dozens of tracking cookies, elements jumping around, interstitials and popups, bad semantics, too much advertising blocks, shallow content, meaningless content, duplicated content, I mean the list goes on.

    • @thekwoka4707
      @thekwoka4707 Год назад +2

      @@rproctor83 no, it's just that being the thing people want is always most important.
      But layout shift is still annoying for users period.

  • @MostofaFatinZarif
    @MostofaFatinZarif 4 месяца назад

    One of the best video ever. Maintain performance is a major part in development

  • @lukas.webdev
    @lukas.webdev Год назад +22

    I heard about it, but actually never used it ... But this actually seems pretty helpful. Keep it up. 😉🔥

    • @harris.sensorsoffline6419
      @harris.sensorsoffline6419 Год назад +2

      Whose gonna do it? so much typing of extra code 😁 so much work. Just basic lazy loading is enough.

    • @Peshyy
      @Peshyy Год назад +3

      @@harris.sensorsoffline6419 I see you don't care about UX at all

    • @harris.sensorsoffline6419
      @harris.sensorsoffline6419 Год назад

      @@Peshyy It won't be ideal, to work on a ldiotic Blur Image Lazy Load when native lazy load is faster & better.

    • @Peshyy
      @Peshyy Год назад +2

      ​@@harris.sensorsoffline6419 native lazy loading is still being used. the difference is that with one, you get images pop out of nowhere on slow networks; with the other - the images are placed where they should be, the user is visually aware there's an image there and how it should look like, and gets nice visual feedback that the image is being loaded.
      calling it "idiotic blur image lazy load" shows a lot about you

    • @harris.sensorsoffline6419
      @harris.sensorsoffline6419 Год назад

      @@Peshyy If you are working on a Gov Project that requires support for Slower Network & Older Browsers. You can't even support native lazy loading better luck with Tables to align those IMGs 😁.
      Just kiddin, like you can convert all your images to webp with extreme compression & native lazy loading. Enough, to work good on all 4G Connections that most World runs on.

  • @stevensavoie856
    @stevensavoie856 Год назад +9

    I love that the way you add lazy loading is how non-programmers think writing code is like.
    "If you want lazy loading, type "loading = lazy". If you want a visitor to buy things, just add a button and write "action = complete transaction with credit card or payment service.""

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

      That's the Declarative Paradigm of programming for you. It's all about letting you describe WHAT you want (leaving the HOW to the engine).
      That is, you provide descriptions of what you want, piece by piece.
      On the other hand, what people casually mean by "programming" tends to be the Imperative Paradigm. This is all about letting you describe HOW you want things done.
      That is, you provide instructions, step by step.

  • @csisyadam
    @csisyadam Год назад +16

    1. Would ".blur-load:not(.loaded)::before" work?
    2. What do you think about "animation-direction: alternate"?
    3. Setting the bg color to white and play with the opacity in the animation is another way to do it.

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

    1. You can set background on an img itself. But I think it'll be impossible to add pulse over it.
    2. Seems like progressive jpeg (especially with http2) could've solve the problem too?
    3. 08:48 I like this more than blurry until load.
    4. 10:30 It would be better to specify { once: true } so that it usubscribes after event occures.

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

    Did not know about the loading attribute. It was very helpful for a website I develop. Thank you!

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

    Thanks this is so useful, I have started a e-commerce site and I will use this method for the product images

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

      this method is more suite for showcase , img attribute srcset is better enough for your ecom site

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

    The process of generating and storing the blue placeholder js cumbersome - cloudinary really makes the whole thing a lot more cleaner.

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

    I love how this is detailed!!!

  • @Gio-m
    @Gio-m Год назад

    Dude you're a blessing, thank you!

  • @Trazynn
    @Trazynn Год назад +40

    Is it possible to lazy load in a sharp pixelated style. Because pixel-art aesthetic is really hip these days.

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

      Yes

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

      Yes you can

    • @sanzharsuleimenov379
      @sanzharsuleimenov379 Год назад +22

      Well done guys, one more happy comentator that got his question answered

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

      @@sanzharsuleimenov379 thank you

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

      You can create a smaller pixelated version of your image and use that as the bg of the div.

  • @canarymultimedia
    @canarymultimedia Год назад +18

    What happened to progressive jpg anyway? That was a really cool feature built into the image...

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

      It should still works, and it is much simpler than this.

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

      That would still start the resource download on page load even if the image is 200 viewport a down.

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

      You can lazy load progressive jpeg as well, and this way you're not wasting user's bandwidth for blurred images, image actually loads progressively and you won't have to manage two sets of assets

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

      I was looking for this comment

  • @TehPwnerer
    @TehPwnerer Год назад +5

    In the 90s with JPEG they would load exactly like you describe and they can because the the way jpegs are constructed using frequency data so you can load lower frequency components first making up a blurry pixelated image like you have slowly transitioning into the actual image as finally received and loaded

    • @mohammadmahdimohaveri6580
      @mohammadmahdimohaveri6580 Год назад +7

      What you're describing is called Progressive JPEG, normal JPEG stores image block by block and cannot be rendered Progressively, but Progressive JPEG stores data from lower frequencies to higher ones, so it can load in an un-bluring manner

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

      Yes, it's called jpeg 2000. Unlike regular jpeg, where they use Fourier transform, jpeg 2000 uses wavelet transform, which allows for better perceived image quality with smaller file size. Windows does not support it, but on a macOS you can save an image in jpeg 2000 format.

  • @lapridagaspar
    @lapridagaspar Год назад +83

    Cool!
    I personally prefer not having extra markup. You can have the background image directly on the img tag. You wouldn't have the exact fade in animation you achieved but if you save your images with "progressive" turned on, they load in waves of less quality to more quality instead of top to bottom.
    Also, I think that hiding images by default isn't very progressively enhanced. You could instead add a class when JS starts running to hide them, or the classic remove the .no-js class on the body.
    Also, wouldn't it be more performant to do the pulse animation with opacity rather than changing the background color value? I think this can be done without extra markup as well (there's no need even for a pseudo element)

    • @lapridagaspar
      @lapridagaspar Год назад +19

      One more thing. In your example it doesn't really matter, but for regular block images (not on a grid like yours) lazy loading can cause layout shift.
      To prevent this, you should specify each image width and height attributes.
      What's more, if you have those values and you are dealing with responsive images, you could also set a style with --_img-width and --_img-height custom properties. This should be the pixel value without unit.
      Then, in your CSS
      img[loading="lazy"]{
      max-width:100%;
      height:auto;
      aspect-ratio: var(--_img-width) / var(--_img-height);
      }

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

      while trying this out i ran into said issues and after struggling for 20 minutes I arrived at almost the same solution you gave except for the progressive part. Have no idea what that means. Can you please explain?

    • @PhoenixXxXx91
      @PhoenixXxXx91 Год назад +14

      @@aniketpandey2524 Progressive images, supported since ages from jpg format include the small image Kyle generates inside the image itself. Also, the top-to-bottom loading is different on this kind of images - the same effect we're trying to have in the video, except that it is browser native, rather than using JS. I personally create the progressive images with the "export for web(legacy)" using the "progressive" option in Photoshop, but pretty sure you can find a free tool for that.

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

      @@PhoenixXxXx91 oh! Now I got it. I thought he's talking about some new option in img tag of html.. 😅

    • @lapridagaspar
      @lapridagaspar Год назад +10

      @@aniketpandey2524 JPGs can be saved as "progressive" from photoshop. I'm sure there are other ways, but that's how I do it.
      If you are going full on optimization you may also consider a tag with the image inside as a WEBP or any other modern web format; with the JPG fallback.
      I don't know if WEBP has this "progressive" option.

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

    Excellent video! Incredibly well explained, exceptionally well prepared! Thank you very much!

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

    This is an awesome way to load images. Great video!

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

      It's better to use library for that

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

    I was looking for EXACTLY this for my project.

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

    You're awesome, this was incredibly helpful.

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

    Great easy to follow vid. The blur background idea is gold.

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

    Please make a video about next image too? My problem is how to set height on dynamic images in next js without them losing the aspect ratio and keeping the responsiveness

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

    Thank you next/image for not making having to write all of this :). Great video btw.

  • @r.osorio02
    @r.osorio02 3 месяца назад

    Thank you bro! I will do this to my image component in react 👍

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

    Thank god programming is like an open-book exam, you just need to know that it can be done and you will have Kyle here to help you do it

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

    0:05 no the biggest reason is the sticky header, cookie, chat, and subscribe popups, the news feed, and the social links. remove all that bloat and the website will just feel faster no matter how your images load

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

    At my job they really want us to improve the ligthouse scores. Have you done any tests to see what maximizes the lighthouse score (things like first/largest contentful paint)? I know you may even have to do strange stuff like not use external css files if your site has a really big one. I think it would be great if you could do a showcase of all the different ways to lazy load & optimize images and then show what kind of lighthouse scores they get (specifically on mobile, that's the killer). Thank you for this vid!

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

    Just what i was looking for, awesome

  • @洪柜峰
    @洪柜峰 Год назад

    you are such a genius!!

  • @ZackPyle
    @ZackPyle Год назад +7

    You could also throw a filter blur on it to make that pixilated small file look a little nicer

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

      Actually, you are right, but when we use the 'Filter blur' effect on the mobile version, it feels laggy.

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

      @@gowthammurugan6392 Interesting. Which part feels laggy?

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

    Hi Kail, thanks, good idea with pulse.

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

    I was waiting for this video.

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

    what a coincidence got this issue in my job task xD thanks a lot!

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

    Awesome tutorial, thanks Kyle.

  • @CarlosHernandez-tg3vj
    @CarlosHernandez-tg3vj Год назад

    exactly what I needed thank you

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

    Amazing as always thank you so much man

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

    Grest tutorial. Thank you

  • @Buster475
    @Buster475 Год назад +5

    Considering that jpeg encodes in 8x8 blocks, maybe 16x16 or 24x24 pixels would work better?

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

    I would also add a blur filter to smooth out those low res jpeg artifacts.

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

    Ey bruh at 15:41 I am not seeing the card for the suggested video.

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

    This is nice. Thank you dude.

  • @Абдулхафиз-ч8д
    @Абдулхафиз-ч8д Год назад +2

    Web Dev is the best👍

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

    Thankyou much for sharing this awesome technique. ))))

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

    Very usefull video ! Thank you !

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

    Thanks for this Video!

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

    Amazing content!

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

    Great stuff thanks for sharing.

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

    Your are the life saver....the (img.complete) one

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

    Great content! Thank you!

  • @temperkan3727
    @temperkan3727 Год назад +2

    This guy is awesome!

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

    Ow man! You are awesome!

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

    very helpfull content thankyou for sharing this.

  • @sissipwns
    @sissipwns 4 месяца назад

    It is important to mention that images that have the attribute loading="lazy" but are not loaded yet are not available on the print layout!
    If the print layout is important, a lazy loading method using IntersectionObserver would be the better option.

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

    Nice, thank you!

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

    Thank you for this very informative video .. pls do make a video for video loading time will be very helpful :)

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

    Super cool, thank you

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

    I really don't see how blurry jpegs are nice looking, they are even quite horrible imo, but the idea and technique as a whole is for sure nice and useful.

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

    Great video!

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

    You have the best tutorials out there. I also notice you shake your head sideways alot when talking.

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

    This is good to know.... But one more thing... Can you show how to implement this feature in react front end application???

  • @tgdb-ace
    @tgdb-ace Год назад

    The lack of use of js here till the end makes my day

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

    Use Ctrl + Alt + Down / Up to get multiple cursors as he did in the video

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

    Great video. Thanks.

  • @MarkPanado
    @MarkPanado Год назад +31

    Just use a picture tag and webp images with jpg fallback. Also, images on the first fold of the viewport should never be lazy loaded

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

      Could you elaborate what you mean by “first gold of the viewport?“ Thanks!

    • @MarkPanado
      @MarkPanado Год назад +5

      @@skykingjason basically the area on the screen that is visible to you as soon as the page loads

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

      @@MarkPanado and y though?

    • @hetoverseo3887
      @hetoverseo3887 Год назад +2

      @@mohithguptakorangi1766 empty content when the page elements first load. It also causes a little bit more of delay before the image gets load, the browser has to check if the image is currently in the viewport, bad for mobile users on 3g.

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

      @@hetoverseo3887 didn't know that, thanks

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

    I have been using 'BlurHash' for multiple apps for some time now. I feel like it gives nicer results and the size for the blurred img is just bytes (!)

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

      And i forgot to mention: no network requests for the blurred imgs

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

      @@chrisprenn Hi. Thanks for the nice info!

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

    wow no library or framework. You are awesome man.

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

    Simply amazing explanation

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

    Great advice :)

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

    Thanks, ill just use progressive jpegs.

  • @user-fed-yum
    @user-fed-yum Год назад

    So impressed with your skills, every single piece of content you produce. Just a heads up, that addEventListener will leak memory. Simplest fix would be to add an option argument with once:true.

    • @cookieman.19
      @cookieman.19 Год назад

      Is that the third argument?

    • @user-fed-yum
      @user-fed-yum Год назад +1

      @@cookieman.19 Yes, add { once: true } for the third argument 👍

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

    thats what i want thanks very much i had same porblem in my real portfolio

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

    nice tricks to load images thanks for sharing.

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

    nice video! one thing I'd have done differently is, if you're using javascript anyways, I'd have set the small image style in the script itself too, to have the DOM be less cluttered

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

      Also to make the no-scripts users see the actual picture eventually...

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

    Is there a reason to use ffmpeg over imagemagick? I was under the impression that ffmpeg is tailored for videos, and imagemagick for pictures.

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

      No, he says as much (something like "there are tons of ways, use what ever you want")
      I'm guessing he just had a good workflow set up for ffmpeg that he was familiar with, so he threw the images at it because he could :P

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

    That's awesome!

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

    Thanks again man! can you made also one video about file types? webp and avif versus jpeg also svg can be nice

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

    Great video as usual. What do you think of the use of 'skeletons' while loading stuff. Is it any better than having to have multiples files of the same image but sized down?

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

    Does it work? Yes.
    Is it clear and readable? Yes.
    Good.
    Are there other ways of doing it? Of course. Tons.

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

    Welcome back

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

    1:45 the images are 755B and are taking forever to load ??

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

    Very useful. King.

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

    That was amazing

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

    Love this man, awesome video! Can you please do a vid on requestAnimationFrame()?

  • @dmitrieryomin9772
    @dmitrieryomin9772 Год назад +2

    What about Progressive JPEG?

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

    What is the right way to ensure that the placeholder div is the same size the image will be, once loaded, to avoid jerky reflow issues.

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

    The problem with this is that you make double additional request to server to load blurry image for each image. Perhaps it would be better if you combine all these small blurry images into a single sprite image.

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

      Embed them as data uris

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

      Yes, creating more http requests is bad for performance so this would only be a visual fix.
      A poor one at that, hence the actual pro version would be to use placeholders.

  • @MrJettann
    @MrJettann Год назад +2

    That's cool, but what to do with dynamically fetched images? It's there a way to do the same trick?

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

      Hmm, not if the images you're fetching don't provide progressive loading or also have a small variant.
      You'd have to just get the most important images or versions as fast as possible, and use generic placeholders/colors in the meantime

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

      use skeletons instead

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

    love the content

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

    You are a savior :D

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

    I am curious to know, if we set content to none. But left animation there. Will it take any computation load as animations are cpu intensive.
    Or browser intelligently will remove the animation property if no content is there

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

    The issue with this puts more load on the user and the server. You're loading multiple images at the end of the day. I would love to see if there could be a version where it automatically downscales itself, and builds upon itself. Great video!

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

    Thank you.

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

    did you noticed: when slow 3g is enabled - browser downloads all 16 images in one time, so "lazy" sucks ?

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

    My fingers were hovering over the keys to scream "what about responsive images?" and at the last moment you linked it in = )
    What about webp though = p