About image64
Converts a specified image to a base64 encoding for use within a CSS file, the style tags, or image tags.
Information
Released
January 17, 2017
Supported Database
MySQL
License
GPLv2
Supported Versions
2.4 - <2.5
Downloads
774
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.|
New in 2.0.0-rc1
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