t3brightside / imagelazyload
Images lazy load control for pagelist, personnel, gallerycontent, and custom elements.
Fund package maintenance!
t3brightside
Installs: 47
Dependents: 0
Suggesters: 3
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^11.5 || ^12.0
README
Adding an option to disable images lazy load in TYPO3 CMS extensions: pagelist, personnel, gallerycontent, and custom elements.
It's a good practice to keep your above the fold content images loading not lazy.
Installation
composer req t3brightside/imagelazyload
or from TYPO3 extension repository imagelazyload
Use in custom elements
- Add
tx_imagelazyload
to your content element TCA - Add
loading="{f:if(condition: '!{data.tx_imagelazyload}', then: 'lazy')}"
in your image tag.
Development & maintenance
Brightside OÜ – TYPO3 development and hosting specialised web agency