format.placeholder.image ViewHelper <vhs:format.placeholder.image>
Placeholder Image ViewHelper
Inserts a placeholder image from http://placehold.it
Arguments
additionalAttributes
- DataType
- mixed
- Required
- false
- Description
- Additional tag attributes. They will be added directly to the resulting HTML tag.
data
- DataType
- mixed
- Required
- false
- Description
- Additional data-* attributes. They will each be added with a "data-" prefix.
aria
- DataType
- mixed
- Required
- false
- Description
- Additional aria-* attributes. They will each be added with a "aria-" prefix.
text
- DataType
- string
- Required
- false
- Description
- Text to render as image
width
- DataType
- integer
- Default
- 640
- Required
- false
- Description
- Width of rendered placeholder image
height
- DataType
- integer
- Required
- false
- Description
- Height of rendered placeholder image
backgroundColor
- DataType
- string
- Default
- '333333'
- Required
- false
- Description
- Background color
textColor
- DataType
- string
- Default
- 'FFFFFF'
- Required
- false
- Description
- Text color