Title: WebP Srcset Generation
Last modified: October 21, 2025

---

# WebP Srcset Generation

 *  Resolved [Firefall, LLC](https://wordpress.org/support/users/firefallpro/)
 * (@firefallpro)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/webp-srcset-generation/)
 * We’ve been noticing sites we’ve installed TinyPNG (version 3.6.2) on recently
   were displaying low quality images.
   It was initially assumed that it was issues
   with image compression, but then we’ve realized `picture` elements have been 
   defaulting to the WebP 300x___ size. Deactivating the plugin or toggling `Generate
   optimized image formats` off causes the correct image resolution to be displayed
   in its original file format. Example of the generated code is displayed below:
 *     ```wp-block-code
       <source srcset="IMAGE URL@2x-300x177.webp 300w" type="image/webp"><source srcset="IMAGE URL@2x-scaled.avif 2560w, IMAGE URL@2x-1024x604.avif 1024w, IMAGE URL@2x-768x453.avif 768w, IMAGE URL@2x-1260x743.avif 1260w, IMAGE URL@2x-scaled.avif" type="image/avif"><span style="font-family: inherit; font-size: 0.8rem; text-align: initial;"><img width="2560" height="1510" src="IMAGE URL@2x-scaled.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="About Us" decoding="async" srcset="IMAGE URL@2x-scaled.jpg 2560w, IMAGE URL@2x-300x177.jpg 300w, IMAGE URL@2x-1024x604.jpg 1024w, IMAGE URL@2x-768x453.jpg 768w, IMAGE URL@2x-1260x743.jpg 1260w" sizes="(max-width: 2560px) 100vw, 2560px"></span>
       ```
   
 * This seems to affect existing images on the site that underwent bulk compression
   + conversion, newly uploaded images do not have this issue.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwebp-srcset-generation%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/webp-srcset-generation/#post-18690756)
 * Hi there,
 *  and let us know which Tinify account you’re using?

Viewing 1 replies (of 1 total)

The topic ‘WebP Srcset Generation’ is closed to new replies.

 * ![](https://ps.w.org/tiny-compress-images/assets/icon-256x256.png?rev=3448487)
 * [TinyPNG - JPEG, PNG & WebP image compression](https://wordpress.org/plugins/tiny-compress-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tiny-compress-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tiny-compress-images/)
 * [Active Topics](https://wordpress.org/support/plugin/tiny-compress-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tiny-compress-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tiny-compress-images/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * Last activity: [7 months, 1 week ago](https://wordpress.org/support/topic/webp-srcset-generation/#post-18690756)
 * Status: resolved