2017 © Pedro Peláez
 

contao-module contao-greyify

An contao extension that provides a small class to greyscale images with PHP or inserttag

image

teamsisu/contao-greyify

An contao extension that provides a small class to greyscale images with PHP or inserttag

  • Tuesday, February 17, 2015
  • by Teamsisu
  • Repository
  • 2 Watchers
  • 2 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Greyify

Version License Downloads, (*1)

An contao extension that provides a small class to greyscale images with PHP or inserttag, (*2)

How to use:

inserttag


Default: {{greyify::imagePath/UUID?width=x&height=x&mode=x}} // returns an image tag with figure container SRC: {{greyify::src::imagePath/UUID?width=x&height=x&mode=x}} // returns only the file path TAG: {{greyify::tag::imagePath/UUID?width=x&height=x&mode=x}} // returns an image tag FIGURE: {{greyify::figure::imagePath/UUID?width=x&height=x&mode=x}} // returns an image tag with figure container

php


$image = Greyify::convert(imagePath/UUID?width=x&height=x&mode=x); // returns only the path of the image $image = Greyify::getHTML(imagePath/UUID?width=x&height=x&mode=x); // returns an image tag $image = Greyify::getHTML(imagePath/UUID?width=x&height=x&mode=x, true); // returns an image tag with figure container

For the getHTML method there is as third parameter the "alt" value available The parameters width/height/mode are optional for both inserttag and php, (*3)

Additional note

This module is provided "as is", without warranty of any kind. It is still under development if you find any issues please use the github issue tracker., (*4)

The Versions

17/02 2015

dev-master

9999999-dev https://github.com/Teamsisu/contao-greyify

An contao extension that provides a small class to greyscale images with PHP or inserttag

  Sources   Download

LGPL-3.0+

The Requires

 

frontend image contao grayscale grey gray greyscale

17/02 2015

0.0.4

0.0.4.0 https://github.com/Teamsisu/contao-greyify

An contao extension that provides a small class to greyscale images with PHP or inserttag

  Sources   Download

LGPL-3.0+

The Requires

 

frontend image contao grayscale grey gray greyscale

16/01 2015

0.0.3

0.0.3.0 https://github.com/Teamsisu/contao-greyify

An contao extension that provides a small class to greyscale images with PHP or inserttag

  Sources   Download

LGPL-3.0+

The Requires

 

frontend image contao grayscale grey gray greyscale

09/01 2015

dev-develop

dev-develop https://github.com/Teamsisu/contao-greyify

An contao extension that provides a small class to greyscale images with PHP or inserttag

  Sources   Download

LGPL-3.0+

The Requires

 

frontend image contao grayscale grey gray greyscale

09/01 2015

0.0.2

0.0.2.0 https://github.com/Teamsisu/contao-greyify

An contao extension that provides a small class to greyscale images with PHP or inserttag

  Sources   Download

LGPL-3.0+

The Requires

 

frontend image contao grayscale grey gray greyscale

08/01 2015

0.0.1

0.0.1.0 https://github.com/Teamsisu/contao-greyify

An contao extension that provides a small class to greyscale images with PHP or inserttag

  Sources   Download

LGPL-3.0+

The Requires

 

frontend image contao grayscale grey gray greyscale