Title: Image srcset blank
Last modified: April 25, 2025

---

# Image srcset blank

 *  Resolved [jllrh](https://wordpress.org/support/users/jllrh/)
 * (@jllrh)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/)
 * When we have the ‘Speed up image load times’ option for Site Accelerator enabled,
   images newly uploaded (since enabling Jetpack) fail to print the WordPress generated
   srcset within the theme template file.
 * We currently have ‘Speed up image load times’ disabled as it’s full width images
   are rendering really pixelated with only the smallest image size.
 * Hopefully this is a fairly simple fix, as if it works without Jetpack enabled,
   it suggests the ‘Speed up image load times’ setting is the problem.
 * I should add, the srcsets are being generated by `wp_get_attachment_image_srcset`
   in the theme.
 * Also FYI the options offered by your support AI weren’t super helpful:
 * _You have two options: 1) Keep the Image CDN disabled if you prefer having srcset
   attributes, or 2) If you’d like to use both features, you might want to connect
   with our Happiness Engineers for more advanced troubleshooting._
    -  This topic was modified 1 year, 1 month ago by [jllrh](https://wordpress.org/support/users/jllrh/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-srcset-blank%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Support [Chatoxz (a11n)](https://wordpress.org/support/users/chatoxz/)
 * (@chatoxz)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/#post-18440125)
 * Hello there, Sebastian from Jetpack here. I hope you are doing well.
 * Thank you for reaching out and sharing your concern with us.
 * It’s possible that the issue is related to the theme. Could you try setting a
   different theme, activating the ‘Speed up image load times’ feature, and seeing
   if the issue is persists?
 * Also, please let us know the theme you are using.
 * Let us know how it goes.
 *  Thread Starter [jllrh](https://wordpress.org/support/users/jllrh/)
 * (@jllrh)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/#post-18441006)
 * Not sure how it could be a theme issue when the srcset is generated fine fine
   _without_ Jetpack activated?
 * This is a custom built theme.
 *  Plugin Support [Tamirat B. (a11n)](https://wordpress.org/support/users/tamirat22/)
 * (@tamirat22)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/#post-18441692)
 * Hello [@jllrh](https://wordpress.org/support/users/jllrh/),
 * Thanks for the follow-up message.
 * When Jetpack’s “Speed up image load times” feature is enabled, it can definitely
   interfere with how image sizes are handled, especially in custom themes.
 * Since things work as expected with Jetpack turned off, this suggests a possible
   conflict between a setup on your site and how Jetpack rewrites image URLs to 
   serve them from our CDN.
 * To help confirm this, we recommend running a quick test using a default WordPress
   theme, such as Twenty Twenty-Four, with the Health Check & Troubleshooting plugin.
   This lets you temporarily switch themes and disable plugins just for your own
   session your visitors won’t see any changes.
 * Here’s how:
    1. Install and activate the Health Check & Troubleshooting plugin.
    2. Enable troubleshooting with only Jetpack active and switch to a default theme.
    3. Revisit the frontend images while still in your admin session and check if the
       issue persists.
 * If the issue goes away in that setup, it confirms the problem is specific to 
   how your custom theme interacts with Jetpack’s image CDN.
 * If that’s the case, we can explore possible ways to avoid the conflict without
   disabling the image speedup feature entirely.
 * Let us know how the test goes!
 *  Thread Starter [jllrh](https://wordpress.org/support/users/jllrh/)
 * (@jllrh)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/#post-18443177)
 * But how can I check if the issue persists if I change theme? 
   Will a ‘default
   theme’ be using `wp_get_attachment_image_srcset` ?
 *  Thread Starter [jllrh](https://wordpress.org/support/users/jllrh/)
 * (@jllrh)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/#post-18443671)
 * [@chatoxz](https://wordpress.org/support/users/chatoxz/) [@tamirat22](https://wordpress.org/support/users/tamirat22/)
   we’ve done a bit more testing and think we’ve narrowed it down to a file name
   issue.
 * the file name of the image that was failing to generate a srcset contained a 
   © character.
 * would this prevent the relevant versions of the image being generated?
 * cheers
    -  This reply was modified 1 year, 1 month ago by [jllrh](https://wordpress.org/support/users/jllrh/).
 *  Plugin Support [Tamirat B. (a11n)](https://wordpress.org/support/users/tamirat22/)
 * (@tamirat22)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/#post-18444760)
 * Hello [@jllrh](https://wordpress.org/support/users/jllrh/),
 * Thanks for the follow-up and for digging deeper into this!
 * I tried uploading an image with a © character in the filename on a test site 
   with Jetpack’s Site Accelerator feature enabled, but I wasn’t able to reproduce
   the issue, meaning the `srcset` field was generated as expected.
 * To help us investigate further, could you share a direct link to an image on 
   your site or staging environment where this issue is occurring? That would help
   us take a closer look at how the image is being processed and served.
 * Looking forward to your update!
 *  Plugin Contributor [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/#post-18457703)
 * Hi there, [@jllrh](https://wordpress.org/support/users/jllrh/),
 * Do you have updates about that, do you still need help? We usually close inactive
   threads after one week of no movement, but we want to make sure we’re all set
   before marking it as solved. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Image srcset blank’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)
 * [srcset](https://wordpress.org/support/topic-tag/srcset/)

 * 7 replies
 * 4 participants
 * Last reply from: [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/image-srcset-blank/#post-18457703)
 * Status: resolved