
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
gatsby-remark-lazy-load
Advanced tools
This plugin lazy loads image processed by gatsby-remark-images plugin
Lazyloads images processed by gatsby-remark-images with using lazysizes
The plugin makes lazyload possible by:
src
and srcset
to data-src
and data-srcset
respectively.lazyload
to img
tag.lazysizes has to be installed to make this plugin work.
npm install --save gatsby-remark-lazy-load
npm install --save lazysizes
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
},
`gatsby-remark-lazy-load`,
]
}
}
]
// In your gatsby-browser.js
import 'lazysizes'
This is a minimum plugin. Please make an issue when you need more functionalities or code doesn't work!
FAQs
This plugin lazy loads image processed by gatsby-remark-images plugin
We found that gatsby-remark-lazy-load demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.