Download the PHP package dft/silverstripe-deferedimages without Composer
On this page you can find all versions of the php package dft/silverstripe-deferedimages. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dft/silverstripe-deferedimages
More information about dft/silverstripe-deferedimages
Files in dft/silverstripe-deferedimages
Package silverstripe-deferedimages
Short Description Deferres loading of template images
License BSD-3-Clause
Homepage http://github.com/i-lateral/silverstripe-deferedimages
Informations about the package silverstripe-deferedimages
Silverstripe Defered Images Module
Module that loads images as a very low res version first, then uses JavaScript to load the full version
Now implements heyday/silverstripe-responsive-images without any extra configuration. Simply configure the responsive images module as you normally would and call them in the template.
Installation
install via composer
Setup
By default this is added to the PageController
if it's available. This can be added to extra controller via config.yml:
Theme
This module has a small theme addon that needs to be added you your theme stack in config.yml to load it's template.
Alternatively, you can copy the template into your own theme.
Configuration
By default all images called in the templates using the standard $Image.Type()
call will be defered.
The temporary image can be customised in size, quality and appearance via config:
To enable deferring of images added in a HTMLEditorField
you will need to enable the included shortcode parser via _config.php:
All versions of silverstripe-deferedimages with dependencies
silverstripe/assets Version ~1.0
i-lateral/silverstripe-deferedimages-theme Version ^1.0
heyday/silverstripe-responsive-images Version ^2.0