Title: &#8216;srcset&#8217; disappearing
Last modified: January 31, 2020

---

# ‘srcset’ disappearing

 *  [David Stingl](https://wordpress.org/support/users/berlindave/)
 * (@berlindave)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/srcset-disappearing/)
 * Hey Alex,
 * that may be a stupid question, but when the plugin ist activated, the responsive
   image function with srcset and width disappears from the thumnails and even on
   smaller viewports always the biggest picture is shown.
 * Am I doing or getting something wrong?
 * Best regards
 * David

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

 *  Plugin Author [alpipego](https://wordpress.org/support/users/alpipego/)
 * (@alpipego)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/srcset-disappearing/#post-12385106)
 * Hi David,
    Thank you for your bug report. The `srcset` and the `sizes` attributes
   should not be interfered with by the plugin (or any other attributes for that
   matter).
 * Are these getting added by the theme or is there some other plugin involved in
   adding these attributes. If it is the theme, could you maybe provide me a link
   to a (free) theme or a copy of it either via slack [@alpipego](https://wordpress.org/support/users/alpipego/)
   or email [hi@resizefly.com](https://wordpress.org/support/topic/srcset-disappearing/hi@resizefly.com?output_format=md)?
 * For completeness, could you please also tell me what versions of WordPress and
   ResizeFly you are running?
 * Thank you,
    Alex
    -  This reply was modified 6 years, 4 months ago by [alpipego](https://wordpress.org/support/users/alpipego/).
 *  Thread Starter [David Stingl](https://wordpress.org/support/users/berlindave/)
 * (@berlindave)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/srcset-disappearing/#post-12385164)
 * Thank you, Alex, for your prompt reply.
 * I tested again with disabling all other plugins except ResizeFly, same issue.
 * The theme is: [https://themezee.com/de/themes/harrison/](https://themezee.com/de/themes/harrison/)
   
   WP 5.3.2, ResizeFly 3.1.4
 * Thank you,
    David
 *  Plugin Author [alpipego](https://wordpress.org/support/users/alpipego/)
 * (@alpipego)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/srcset-disappearing/#post-12385427)
 * Unfortunately, I can’t reproduce this. The content I have in an editor is
 *     ```
       <img class="alignnone size-large wp-image-76" src="http://wp.version/wp-content/uploads/2018/12/image-1024x538.jpg" alt="" width="1024" height="538">
       ```
   
 * and the output in the frontend – with Harrison as the active theme and ResizeFly
   as the only activated plugin – is:
 *     ```
       <img class="alignnone size-large wp-image-76" src="http://wp.version/wp-content/uploads/resizefly/2018/12/image-1024x538@1.jpg" alt="" srcset="http://wp.version/wp-content/uploads/resizefly/2018/12/image-1024x538@1.jpg 1024w, http://wp.version/wp-content/uploads/resizefly/2018/12/image-300x158@1.jpg 300w, http://wp.version/wp-content/uploads/resizefly/2018/12/image-768x404@1.jpg 768w, http://wp.version/wp-content/uploads/resizefly/2018/12/image-1536x808@1.jpg 1536w, http://wp.version/wp-content/uploads/resizefly/2018/12/image-2048x1077@1.jpg 2048w" sizes="(max-width: 1024px) 100vw, 1024px" width="1024" height="538">
       ```
   
 * So when you disable ResizeFly you correctly get the `srcset` but once it is enabled
   the attribute is missing?
 * Sorry that I can’t provide an easy solution as of now.
    -  This reply was modified 6 years, 4 months ago by [alpipego](https://wordpress.org/support/users/alpipego/).
      Reason: update code tags
 *  Thread Starter [David Stingl](https://wordpress.org/support/users/berlindave/)
 * (@berlindave)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/srcset-disappearing/#post-12385442)
 * Did you test it also with a featured image resp. post thumbnail?
 *  Plugin Author [alpipego](https://wordpress.org/support/users/alpipego/)
 * (@alpipego)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/srcset-disappearing/#post-12385454)
 * I did just now, this also shows up correctly
 *     ```
       <img src="http://wp.version/wp-content/uploads/2019/06/candice-picard-1127616-unsplash.jpg" class="attachment-harrison-featured-header-image size-harrison-featured-header-image wp-post-image" alt="" srcset="http://wp.version/wp-content/uploads/2019/06/candice-picard-1127616-unsplash.jpg 5283w, http://wp.version/wp-content/uploads/resizefly/2019/06/candice-picard-1127616-unsplash-300x200@1.jpg 300w, http://wp.version/wp-content/uploads/resizefly/2019/06/candice-picard-1127616-unsplash-768x512@1.jpg 768w, http://wp.version/wp-content/uploads/resizefly/2019/06/candice-picard-1127616-unsplash-1024x683@1.jpg 1024w, http://wp.version/wp-content/uploads/resizefly/2019/06/candice-picard-1127616-unsplash-1568x1045@1.jpg 1568w" sizes="(max-width: 900px) 100vw, 900px" width="900" height="600">
       ```
   
 *  Thread Starter [David Stingl](https://wordpress.org/support/users/berlindave/)
 * (@berlindave)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/srcset-disappearing/#post-12386491)
 * Very weird. This is what I get:
 * `<img width="1440" height="600" src="https://harrison.test-raum.de/wp-content/
   uploads/resizefly/2019/12/sud-6-black-libertine-abgefuellt-scaled-1440x600@1.
   jpg" class="attachment-harrison-featured-header-image size-harrison-featured-
   header-image wp-post-image" alt="">`

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

The topic ‘‘srcset’ disappearing’ is closed to new replies.

 * ![](https://ps.w.org/resizefly/assets/icon-256x256.png?rev=2121683)
 * [ResizeFly](https://wordpress.org/plugins/resizefly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/resizefly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/resizefly/)
 * [Active Topics](https://wordpress.org/support/plugin/resizefly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/resizefly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/resizefly/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [David Stingl](https://wordpress.org/support/users/berlindave/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/srcset-disappearing/#post-12386491)
 * Status: not resolved