Hogan Module: Image WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Image Module for Hogan
★ 1stars
10kcomposer installs
1.2.3latest · 7 years ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/dekodeinteraktiv/hogan-image/archive/refs/heads/master.zipOn Packagist as dekodeinteraktiv/hogan-image:
composer require dekodeinteraktiv/hogan-imageNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Image Module for Hogan 
Installation
Install the module using Composer composer require dekodeinteraktiv/hogan-image or simply by downloading this repository and placing it in wp-content/plugins
Available filters
Admin
hogan/module/image/image_size/choices: Image size choices for image size field. Default (will be merged with return filter return values):[ 'thumbnail' => _x( 'Small', 'Image Size', 'hogan-image' ), 'medium' => _x( 'Medium', 'Image Size', 'hogan-image' ), 'large' => _x( 'Large', 'Image Size', 'hogan-image' ), ]hogan/module/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/image/image_size/preview_size: Admin preview size of uploaded image. Default: 'medium'hogan/module/image/image_size/library: Admin media library choice. Default: 'all'
Template
hogan/module/image/figure_classes: Add classes names to the figure tag. Default:wp-captionandsize-{thumbnail|medium|large}.hogan/module/image/figure_caption_classes: Add classes names to the figure tag. Default:wp-caption-text.hogan/module/image/image/args: Attributes for the image markup.hogan/module/image/template/caption: Filter to change caption content. Defaults to the text inserted in the caption field in admin.- 'hogan/module/image/figure_before_content' : Action hooks to inject content inside the figure element before the image.
- 'hogan/module/image/figure_after_content' : Action hooks to inject content inside the figure element after the image.
Releases
6 releases.
Tag
Published
1.2.3
latest
Aug 16, 2019 7 years ago
Apr 5, 2018 8 years ago
Feb 22, 2018 8 years ago
Feb 15, 2018 8 years ago
Feb 6, 2018 8 years ago
Dec 7, 2017 8 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.