Are you optimally loading your images?

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 60

  • @Steve8708
    @Steve8708  Рік тому +2

    Learn more about the attributes mentioned, as well as a few more not covered in the video, in my full article: www.builder.io/blog/fast-images

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

    I prefer a single sourceset and checking the accept header serverside to determine whether to send an avif, webp or png. Saves a bunch of html if you end up using this a lot of a single page, such as in an image gallery page.

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

    the most productive 3 minutes of the day

  • @westfield90
    @westfield90 Місяць тому

    I’m so glad I found your channel

  • @dopetag
    @dopetag Рік тому +2

    Wow! I've learned so much! Thank you. Your channel deserves much more views and subs!

  • @ricko13
    @ricko13 Рік тому +2

    bro I'm really enjoying all your videos!

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

    What a such beautiful explanation in a short video. Thank you for this!

  • @scyfox.
    @scyfox. Рік тому +24

    it's good to know that there are tools for optimization because it would be a pain to build a gallery having to add all those lines to each and every image on a page.

  • @arks.lacerda
    @arks.lacerda 10 місяців тому

    This is amazing! Very cool, you gained a new follower.

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

    This was super insightful! Thank you so much for making this video!

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

    It is also reasonable to add onerror attribute to handle an error an onload to make Ajax loader animate if it is necessary

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

    fantastic

  • @NoName-1337
    @NoName-1337 Рік тому

    Thank you for your tipps.

  • @--VICKY-
    @--VICKY- Рік тому +6

    From where, you learn these things.. I too surfing around the globe, still didn't notice these things... Can you pls explain how to start researching on certain things... It will be more helpful for me, Thank you❤

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

    very concise. love these vids

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

    so much of optimization Thanks for video

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

    Amazing video so useful. Thank you so much. 🙏🙏🙏🙏

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

    gawwddd damn! Loved this.

  • @yassine-sa
    @yassine-sa Рік тому

    That's why browsers are such a huge piece of software

  • @alimansimov1929
    @alimansimov1929 Місяць тому

    Very good

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

    Really helpful!!!

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

    Great video and article! Shouldn't you also include sizes attribute on all your source elements?

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

    Awesome!
    Should the srcset be set to the below as default or do we need to try to figure out the sizes per width?
    /image.png?width=100 100w, /image.png?width=200 200w, /image.png?width=400 400w, /image.png?width=800 800w

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

    That escalated quickly

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

    2 years of studying html and I didn't know this tf

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

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

    Hey Bro, love this video, could you make a video about optimisations that can be done for video tag as well??

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

    ❤❤

  • @dzwoneczek9124
    @dzwoneczek9124 3 місяці тому +1

    You started with background image and suddenly turned it into just img element

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

    I get these properties but I'm not sure if I understand them. My question is does this mean that you have to have multiple images of different sizes in assets folder or it will apply these effects on a single image with regard to what's most optimal at the time?

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

    Makes sense for static content. Just wondering how the same thing is applied when the images are user uploaded and coming from a database?

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

      When you use a Db, usually save the path, but you can save the image using cdn like Cloudflare image, Next Image in Vercel this make easy this process, but if you can't paid you con try in language programming i know in PHP is possible using code.

  • @good-dev-student
    @good-dev-student Рік тому

    Hey, steve any best solution with sveltkit please ? thank you

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

    How can I apply this to background image

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

    How does Next get those different sizes from one image src?

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

    helping you to break UA-cam algorithm

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

    Could you explain that srcset please. That mean I need to have 4 images in the server with 100, 200, 400, 800. Or they are created auto by the browser? Thanks

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

    This is great, will Qwik City support this?

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

    God bless u

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

    bro is there any way to preload videos at the startign only and then able to seek to any point without buffering, i dont know if youtube allow this or not but is it possible somehow through programming?

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

    3:28 Show a lot of code which add some weights to html - and told - user have this optimization)

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

    wow

  • @maelstrom-qw1jl
    @maelstrom-qw1jl Рік тому

    Very informative but it doesn't solve the issue at the beginning of the video, which is about a background image.

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

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

    What's the React js equivalent to this Image component?

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

      there's not, better use Nextjs which is React on steroids

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

      @@ricko13 no custom made component by any other developer?

    • @8koi245
      @8koi245 Рік тому

      @@blackpurple9163 if it's in next probably there's one, or just use cloudinary

  • @SanjuKumar-hk8yy
    @SanjuKumar-hk8yy Рік тому +1

    I always use 🤣🤣

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

    Or just use nextJs

  • @josh-dev
    @josh-dev Рік тому +1

    Great video Steve but you forgot to mention the CDN solutions 😂

    • @Xamy-
      @Xamy- Рік тому +1

      This is just about the in HTML solutions and CDNs have prettt good mindshare

    • @josh-dev
      @josh-dev Рік тому

      @@Xamy- i know , just a harmless joke between Steve and I.

    • @8koi245
      @8koi245 Рік тому

      he said cloudinary tho

  • @Rajesh-rg6fw
    @Rajesh-rg6fw 9 місяців тому

    Make a playlist 1st

  • @alimansimov1929
    @alimansimov1929 Місяць тому

    Very good