Next.js Image - Never struggle again (+ ImageKit)

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

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

  • @ByteGrad
    @ByteGrad  7 месяцев назад +1

    Hi, my latest course is out now (Professional React & Next.js): bytegrad.com/courses/professional-react-nextjs -- I'm very proud of this course, my best work!
    I'm also a brand ambassador for Kinde (paid sponsorship). Check out Kinde for authentication and more bit.ly/3QOe1Bh

  • @iamabishekbaiju
    @iamabishekbaiju 8 месяцев назад +10

    I was struggling so much learning this Image container. I was surprised to see you made a video about this topic. Felt like you made it for me. don't stop making videos about nextjs. You are helping me a lot. Thanks a lot.

  • @siya.abc123
    @siya.abc123 8 месяцев назад +24

    This is premium content, it feels illegal to watch for free. Thank you for sharing, images are the hardest pain point for me

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

      Enjoy!

    • @reactjs1900
      @reactjs1900 8 месяцев назад +2

      Give him a super thanks then...

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

      Technically every video is not free, you pay your attention to this very specific video and the cost is your time. Nevertheless, good video.

    • @KiranPrajapati-eo9jr
      @KiranPrajapati-eo9jr 8 месяцев назад

      good

    • @KiranPrajapati-eo9jr
      @KiranPrajapati-eo9jr 8 месяцев назад

      @@jsbr yes

  • @dokkenrox
    @dokkenrox Месяц назад +1

    7 months later and now ImageKit's free tier is much less generous than it previously was, not to mention that moving up to their lowest cost paid plan is almost twice as expensive.

  • @KulturanCov
    @KulturanCov 2 месяца назад +1

    You are a brilliant teacher.

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

    That is a good explanation; I came across your video when I checked the Nextjs and VPS with the docker video. Well done!!

  • @abdarker1043
    @abdarker1043 8 месяцев назад +4

    amazing video. i wish i had this video 1 year ago. now i know i messed up a lot back then

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

    Great explanation! Was looking for tutolial like this for several days

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

    been using the imagekit free plan for 4 years without issue

  • @marmunator
    @marmunator 7 месяцев назад +1

    Hey thanks for your video! Quick question, your media library doesn't show the file format. Is there some setting you have on that makes it behave this way?
    In your video, your source for the image is "stockprices" instead of "stockprices.jpg". I tried to upload my images to imagekit, but when ever I leave out the file format (.png in my case), the images wont show up.
    Any ideas?

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

    Thank you for this instructive content!

  • @guts909
    @guts909 8 месяцев назад +2

    You helped me a lot, thank you!

  • @MarkCarson-w3e
    @MarkCarson-w3e 3 месяца назад

    Amazing video! One question - how does the h-auto work on the masonry effect if the fill layout mode of the Next.js image sets the image to cover absolutely? The height of the containing div collapses to zero for me.

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

      were you able to find a workaround ?

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

    If we don't want to use the loader thing, i.e. want to keep the image component server side, how can use set srcSet? I know that nextjs will automatically handle that, but if we're using transformation using the URL(query parameters for imagekit) and want to display different url for different sizes, how would nextjs know how to transform the images?

  • @hbela1000
    @hbela1000 8 месяцев назад +2

    Awesome video !

  • @shahwaizkarim-h9z
    @shahwaizkarim-h9z 8 месяцев назад +1

    When I make a web app having a container with many cards in it there I face many problems like when I resize my screen the images lose their quality and aspect ratio is not maintained. How to solve this problem please guide or make a separate video on it using nextjs I will be grateful to you!!

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

    What if I want to give blur placeholder in a next/image that has a dynamic src

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

    Hi, I have still an issue: How to upload image ? (need transform, before upload too).

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

    Awesome video I learned a lot thanks

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

    In the masonry secrtion, video does not tell us how to use that metadata api for height, it just cuts abruptly can anyone help how to?

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

    Is this feature available when deploying outside Vercel?

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

      I don't believe so, it's proprietary storage/functions solutions that we are using when we deploy to vercel. You would need to write your own services to process the images and make them available through your own storage layer.

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

    like what the actual FUCK
    this video changed my life i was struggling alot with next Image and i didn't know we get all those features from it
    thank u brother i really appreciate it

  • @AfzalNomani
    @AfzalNomani 13 дней назад

    why image loader function is client ?

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

    Hi I wanna add an e-commerce store app for my portfolio. I wonder which react stack is solid for it in 2024. Can someone suggest something? As a back I would prefer Firebase, also for styling scss+mui but need recommendations about state manager and other technologies and tools. Thanks!

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

    Wow thank you, Image has always given issues

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

    U are underrated 😢

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

    yesterday i had to remove optimization in production, never could it make it work :/

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

    Thank you sir ❤❤❤❤

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

    Supabase does the same with optimizing images

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 5 месяцев назад +1

    Thank you so much

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

    I hate Image ... always struggling to replicate the same ui with this component