The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Responsive Images sort of Working

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #199362

    So I have a responsive image implementation that’s full screen. I am loading picturefill.js and this is in WordPress.

    <img class="site-content__home__heroimg"
     srcset=" 3264w, 3000w, 2250w, 2000w, 1800w, 1550w, 1300w, 1024w, 800w, 550w, 300w, 150w" sizes="100vw" alt="Paper Crane">

    Everything seems to be working but the google page speed tool keeps yelling at me about this image.

    Compressing and resizing…nt/uploads/2014/07/new_crane-800×600.jpg could save 42KiB (91% reduction).

    I am missing something? I am using only one size (100vw) because the image needs to always be 100% of the view port.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.