Unfortunately, I can’t reproduce this. The content I have in an editor is
<img class="alignnone size-large wp-image-76" src="https://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="https://wp.version/wp-content/uploads/resizefly/2018/12/[email protected]" alt="" srcset="https://wp.version/wp-content/uploads/resizefly/2018/12/[email protected] 1024w, https://wp.version/wp-content/uploads/resizefly/2018/12/[email protected] 300w, https://wp.version/wp-content/uploads/resizefly/2018/12/[email protected] 768w, https://wp.version/wp-content/uploads/resizefly/2018/12/[email protected] 1536w, https://wp.version/wp-content/uploads/resizefly/2018/12/[email protected] 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 5 years, 1 month ago by
alpipego. Reason: update code tags