You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any image that you create using wp_get_attachment_image() will include srcset and sizes attributes. You can also build your own image markup using wp_get_attachment_image_srcset() and wp_get_attachment_image_sizes().
Hi there,
is there a function I can use to output a responsive image by attachment id in a theme? As far as I understood from this (https://make.wordpress.org/core/2015/09/26/responsive-images-feature-plugin-update-2/) it only filters the content for now, correct?
Thanks,
Sascha
The text was updated successfully, but these errors were encountered: