-
-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "lazy loading" for mycodes #3971
Comments
Yeah, with custom template it would be much easier to add by users. |
We might get around to that in 1.10 or another big release, it would certainly make life much easier. |
@euantorano do you want this added in to 1.8? |
Yeah, but not 1.8.23. |
Thanks, I'll give this one a look when I've got my others finished. |
Could we not just add the loading="lazy" attribute into the mycode_img template? @euantorano Just for ease of reference the content of that template being: |
Yes, it should work I believe.
…On Thu, 28 May 2020, at 14:06, Ben wrote:
Could we not just add the loading="lazy" attribute into the mycode_img
template? @euantorano <https://github.com/euantorano>
Just for ease of reference the content of that template being:
`<img src="{$url}"{$width}{$height} alt="{$alt}"{$css_align}
class="mycode_img" />`
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3971 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW24MLFXANIY6UX6HXTM3RTZOTXANCNFSM4MXA6WCA>.
|
Resolves #3971 - Add "lazy loading" for mycodes
Use native lazy-loading for web - https://web.dev/native-lazy-loading/#image-loading in mycodes to improve performance.
The text was updated successfully, but these errors were encountered: