Parallax Image Module for Hogan ![Build Status](https://camo.githubusercontent.com/e4d161890984a2af0dc80928d8b4e4c44f44ba684764ea0e2e42fef31da89024/68747470733a2f2f7472617669732d63692e6f72672f44656b6f6465496e746572616b7469762f686f67616e2d706172616c6c61782d696d6167652e7376673f6272616e63683d6d6173746572)
Install the module using Composer composer require dekodeinteraktiv/hogan-parallax-image
or simply by downloading this repository and placing it in wp-content/plugins
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'
hogan/module/parallax_image/figure_classes
: Add classes names to the figure tag. Default:wp-caption