image64
About
Converts a specified image to a base64 encoding.
Installation & usage
#### PROPERTIES
| Property | Type | Req/Opt | Description |
|--|--|--|--|
| `&id` | string | optional | The css id selector attribute|
|`&alt` | string | optional | What to display in the alt attribute |
|`&img` | string | required | path to desired image file from webroot|
|`&css` | boolean | required | If true will return just the data encoding. if false will return an img tag.|
|`&class` | string | optional | The css class attribute|
|`&extra` | string | optional | Specify any other attributes you'd like here. Example: `data-user-attribute="something"`|
|`&title` | string |optional| The title attribute|
|`&imgtype` | string | optional | The mimetype of the image. If left blank, the snippet will try and find it for you.|
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer demon.devin
- Latest release January 17, 2017 (9 years ago)
- First seen in SiteDash January 17, 2017 (9 years ago)
- License GPLv2
- MODX support 2.4 – 2.5
- Databases MySQL
| Changelog | |||
|---|---|---|---|
| MODX.com |
2.0.0-rc1 |
January 17, 2017
9 years ago |
|
|
Changelog for image64
image64 2.0.0 --------------------------------- Rewrote script - Better handling of file path - Added new properties to support css attributes - Added chunk support - Added default properties image64 1.0.0 --------------------------------- Initial Version |
|||
| MODX.com |
1.0.0-beta1 |
January 17, 2017
9 years ago |
|
|
Changelog for image64
image64 2.0.0 --------------------------------- Rewrote script - Better handling of file path - Added new properties to support css attributes - Added chunk support - Added default properties image64 1.0.0 --------------------------------- Initial Version |
|||
|
No matching releases. |
|||