[Support request] Image Sizing in GP

Home Forums Support [Support request] Image Sizing in GP

Home Forums Support Image Sizing in GP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #604345
    Robert

    I’m trying to avoid resizing at the point the browser renders the page. And, I’m also wondering how to make changing layout sizes more efficient since image sizes may change. To that end, what’s the most efficient approach? I’ve been manually setting Media Sizes in WordPress but is that the right way for a responsive theme? Is there a GP function that creates appropriately sized images based on GP’s layout and the size at which it’s being viewed? If so, am I better served by leaving Media Sizes in WP blank?

    Appreciate your help!

    GeneratePress 2.1.2
    GP Premium 1.6.2
    #604864
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    WordPress itself supports srcset, which serves up different images based on the width of the browser.

    Here’s the HTML of one of your images: https://www.screencast.com/t/D5G09zuQE9RE

    You’ll notices there’s a few sizes in there already.

    Let me know if this helps or not 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.