WordPress Plugin sets attachment image markup for Slick lazy loading.
Slick slider needs a special markup for his lazy loading. This plugin use the origin function wp_get_attachment_image() but changed the attributes src to data-lazy and srcset to data-srcset.
- Install and activate the plugin.
- Instead of using wp_get_attachment_image() use wp_get_attachment_image_lazy_slick() in your theme.
- The parameters are same like wp_get_attachment_image()
No, you need to install Slick separately.
- Initial release.