How to deal with the lazyloading problem? #641
Unanswered
BytePrince
asked this question in
Q&A
Replies: 2 comments 2 replies
-
This isn't a final answer, but I have a WIP at https://github.com/danielfdickinson/hugo-dfd-responsive-images that might be of interest. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@BytePrince We alrady have lazy-loading enabled everywhere and in figure shortcode |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am used to write some articles with some pictures.But I found that when I use
![]()
to insert some pictures(In order to give me a see-is-what-you-get effect when I write locally),Lazy loading properties will not be automatically generated there.I only use this way of writing{{< figure src="xxxxxxx.jpeg" alt="xxxx" attrlink="xxxxxx" class="align-center" >}}
, lazy loading will take effect.How can I modify the default template so that pictures rendered with
![]()
have lazy loading attributes automatically?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions