Hogan Module: Image
Image Module for Hogan
by Dekode · github.com/dekodeinteraktiv/hogan-image · website
★ 1stars
9.8kcomposer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dekodeinteraktiv/hogan-image/archive/refs/heads/master.zipAlso on Packagist as dekodeinteraktiv/hogan-image:
composer require dekodeinteraktiv/hogan-imageDeclares an update source (https://github.com/dekodeinteraktiv/hogan-image), so updates arrive through the plugin's own updater.
From the readme
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/imagesize/choices : Image size choices for image size field.
Default (will be merged with return filter return values):
- hogan/module/image/imagesize/constraints : Image constraints for image size field.
Default (will be merged with return filter return values):
- hogan/module/image/imagesize/previewsize : Admin preview size of uploaded image. Default: 'medium'
- hogan/module/image/imagesize/library : Admin media library choice. Default: 'all'
Template
- hogan/module/image/figureclasses : Add classes names to the figure tag. Default: wp-caption and size-{thumbnail|medium|large}.
- hogan/module/image/figurecaptionclasses : 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/figurebeforecontent' : Action hooks t
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.2.3 | Aug 16, 2019 |
| 1.2.2 | Apr 5, 2018 |
| 1.2.1 | Feb 22, 2018 |
| 1.2.0 | Feb 15, 2018 |
| 1.1.0 | Feb 6, 2018 |
| 1.0.2 | Dec 7, 2017 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.