dekodeinteraktiv / hogan-parallax-image
Parallax Image Module for Hogan
Installs: 2 591
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=7.0
- composer/installers: ~1.2
- dekodeinteraktiv/hogan-core: >=1.1.7
Requires (Dev)
README
Installation
Install the module using Composer composer require dekodeinteraktiv/hogan-parallax-image
or simply by downloading this repository and placing it in wp-content/plugins
Available filters
Admin
hogan/module/parallax_image/image_size/constraints
: Image constraints for image size field. Default (will be merged with return filter return values):
[ 'min_width' => '', 'min_height' => '', 'max_width' => '', 'max_height' => '', 'min_size' => '', 'max_size' => '', 'mime_types' => '', ]
hogan/module/parallax_image/image/preview_size
: Admin preview size of uploaded image. Default: 'medium'hogan/module/parallax_image/image/library
: Admin media library choice. Default: 'all'
###Frontend
hogan/module/parallax_image/image_size
: The image size that will be used for the parallax image. Default: 'full' (original image size)hogan/module/parallax_image/mobile_image_size
: The image size that will be used if the parallax is disabled (screen width of 768 and below). Default: 'large'
Template
hogan/module/parallax_image/figure_classes
: Add classes names to the figure tag. Default:wp-caption