Download the PHP package i-lateral/silverstripe-deferedimages without Composer
On this page you can find all versions of the php package i-lateral/silverstripe-deferedimages. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download i-lateral/silverstripe-deferedimages
More information about i-lateral/silverstripe-deferedimages
Files in i-lateral/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