Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Add srcset for GB Query Loop Image

  • Hi,
    I’m trying to improve image sizes on my site, and I can’t get srcset to show up on my featured images in a GB query loop block.

    I have:

    – added a custom image size, no cropping
    – set the image with dynamic data to featured image
    – set the size to my custom size
    – regenerated thumbnails
    – the output shows the image in the custom size, but no srcset shows up, it is just the one URL. I was expecting to see all image sizes (wordpress default like medium and large and other custom sizes I’ve set) to show up.

    I unfortunately can’t give you a link to the site because it’s still in dev, but I was just wondering if there is any general documentation for responsive images in the GB query loop that you can point me to.

    Thank you!

    Best,
    Tina

  • Hi there,

    question – do you need src-set sizes ? If you’re setting a specific image size ?

  • EDIT – i see your other topic.
    To keep things simple i close this topic and reply there.

  • Hi David,
    I thought these were different concerns (how to make them show up + how to have different image sizes in one query loop) but however is easier is fine for me 🙂
    Best,
    Tina

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