An open API service indexing awesome lists of open source software.

https://github.com/franck-paul/lazyloading

Dotclear 2 plugin
https://github.com/franck-paul/lazyloading

dotclear dotclear-plugin

Last synced: about 2 months ago
JSON representation

Dotclear 2 plugin

Awesome Lists containing this project

README

          

Lazy Loading plugin for Dotclear 2

[![Release](https://img.shields.io/github/v/release/franck-paul/lazyLoading)](https://github.com/franck-paul/lazyLoading/releases)
[![Date](https://img.shields.io/github/release-date/franck-paul/lazyLoading)](https://github.com/franck-paul/lazyLoading/releases)
[![Issues](https://img.shields.io/github/issues/franck-paul/lazyLoading)](https://github.com/franck-paul/lazyLoading/issues)
[![License](https://img.shields.io/github/license/franck-paul/lazyLoading)](https://github.com/franck-paul/lazyLoading/blob/master/LICENSE)

==================================

This plugin adds loading="lazy" attribute for img and iframe html element in contents of entries and comments.
Inspired by the [WP Lazy Loading plugin](https://github.com/WordPress/wp-lazy-loading)

It also adds decoding="async" attribute it there is no alt attribute or if it is empty.

Must be activated for the blog (see blog parameters)

Author: Franck Paul - [Blog](https://open-time.net/)