A shim repositoy for imagesloaded as contao component.

4.1.4.1 2018-01-30 09:48 UTC

This package is not auto-updated.

Last update: 2024-10-21 08:49:49 UTC


README

Latest Stable Version Total Downloads

Shim repository for imagesLoaded as Contao Component.

Install

composer require heimrichhannot-contao-components/imagesloaded

Config

Add the following to your config (keep keys to prevent double integration):

Contao 4

$GLOBALS['TL_JAVASCRIPT']['huh_components_imagesloaded'] = 'assets/masonry/imagesloaded.pkgd.min.js|static';

Contao 3

$GLOBALS['TL_JAVASCRIPT']['huh_components_imagesloaded'] = 'assets/components/masonry/imagesloaded.pkgd.min.js|static';

Internal

Update Library:

svn export https://github.com/desandro/imagesloaded.git/trunk/imagesloaded.pkgd.min.js ./dist --force
svn export https://github.com/desandro/imagesloaded.git/trunk/imagesloaded.pkgd.js ./dist --force