This is a very simple, straight-forward way of implementing bLazy for the user uploaded images.
Images could be the programmatically rendered images through image.html.twig
template; read image fields. Or could be the inline images added to content via CKEditor.
template_preprocess_image()
hook implementation in the module take cares of overriding the variables for image.html.twig
template.
And the filter plugin handles rewriting image markups for the inline-images. The filter plugin should be enabled for the desired text-formats to activate.