t3brightside/imagelazyload

Images lazy load control for pagelist, personnel, gallerycontent, and custom elements.

Fund package maintenance!
t3brightside

Installs: 23

Dependents: 0

Suggesters: 3

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:typo3-cms-extension

1.0.1 2023-01-16 04:56 UTC

This package is auto-updated.

Last update: 2024-04-16 07:38:34 UTC


README

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