/imagelazyload

Image lazy load for TYPO3 ext: pagelist, personnel, gallerycontent and custom content elements.

Primary LanguagePHPOtherNOASSERTION

Image Lazy Load

License Packagist Downloads Brightside

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