imageHERE
imagehere
About
Initial beta release.
Installation & usage
Install via Package Management.
Then, use imageHERE by calling the chunk into your template or content, like this:
[[$imageHERE]]
An example with options:
[[$imageHERE?
&w=`600`
&h=`400`
&bg=`#555`
&fg=`#fff`
&text=`Custom Text`
&alt=`alt text here`
]]
- &w => width of placeholder. Defaults to 300.
- &h => height of placeholder. Defaults to 200.
- &bg => background color in hex format. MUST be used with &fg in order to have effect.
- &fg => foreground (text) color in hex format. MUST be used with &bg in order to have effect.
- &text => custom text. Defaults to "width x height".
- &alt => add image alt text, if validation is important to you during prototyping ;)
Not shown here is the &attr property which allows you to insert any attribute you wish into the image element. For example: &attr=`class="myClass"`.
You can also set these properties in the Chunk properties tab, and then every usage of the Chunk will use that property set by default.
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer sepiariver
- Latest release November 8, 2012 (13 years ago)
- First seen in SiteDash November 3, 2012 (14 years ago)
- License GPLv2
- MODX support 2.2 – 2.2
- Databases MySQL
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0.0-beta |
November 8, 2012
13 years ago |
— |
|
No matching releases. |
|||