Skip to content

fansoro/fansoro-plugin-pixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel

Pixel plugin to create placeholder images for Fansoro

Installation

See this instruction

Usage in page content

Simple usage

![Image]({pixel})

Set width and height

![Image]({pixel width=200 height=200})

Set category name

![Image]({pixel width=200 height=200 category=city})

Set gray filter

![Image]({pixel width=200 height=200 category=city gray=true})

Set text

![Image]({pixel width=200 height=200 category=city gray=true text='Pixel'})

Usage in template

<img src="{pixel(['width' => 200, 'height' => 200, 'category' => 'city', 'gray' => 'true', 'text' => "Pixel"])}" alt="">

Options

name value description
enabled true or false to disable the plugin
width 300 Image width
height 200 Image height
category sports Image category (abstract, animals, business, cats, city, food, night, life, fashion, people, nature, sports, technics, transport)
text '' Image text

License

See LICENSE

About

Pixel plugin to create placeholder images for Fansoro

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages