• MODX.com

    482 downloads

image64

image64 is an extra by demon.devin, first released on 2017-01-17.

Package Description

Converts a specified image to a base64 encoding.

Usage/Installation Instructions

#### 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.|

Details

Developer(s)
demon.devin
Released
2017-01-17
First seen
2017-01-17
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.4

image64 Releases

Vendor Signature Released on
MODX.com 2.0.0-rc1 2017-01-17 (2 years ago)
MODX.com 1.0.0-beta1 2017-01-17 (2 years ago)