2017 © Pedro Peláez
 

wordpress-plugin hogan-image

Image Module for Hogan

image

dekodeinteraktiv/hogan-image

Image Module for Hogan

  • Thursday, April 5, 2018
  • by dekode
  • Repository
  • 4 Watchers
  • 0 Stars
  • 1,638 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 33 % Grown

The README.md

Image Module for Hogan Build Status

Installation

Install the module using Composer composer require dekodeinteraktiv/hogan-image or simply by downloading this repository and placing it in wp-content/plugins, (*1)

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-caption and size-{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.

The Versions

05/04 2018

dev-master

9999999-dev https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0 GPL-3.0-or-later

The Requires

 

05/04 2018

1.2.2

1.2.2.0 https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

05/04 2018

dev-register-module

dev-register-module https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

22/02 2018

1.2.1

1.2.1.0 https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

22/02 2018

dev-phpcs/phpcompatibility

dev-phpcs/phpcompatibility https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

20/02 2018

dev-add/wrapper-classname

dev-add/wrapper-classname https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

15/02 2018

1.2.0

1.2.0.0 https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

06/02 2018

1.1.0

1.1.0.0 https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

07/12 2017
07/12 2017
22/11 2017
13/11 2017

dev-image-module-figure-wrap

dev-image-module-figure-wrap https://github.com/dekodeinteraktiv/hogan-image

Image Module for Hogan

  Sources   Download

GPL-3.0

The Requires