By :
aghanathan
Published on Sunday, December 18, 2016,19:03:01 in PHP Scripts
The Nathan Button Generator allows you to create customizable button from Bootstrap Glyphicon Components and downloadable button, work in localhost or web hosting (IPV6 version).
Features include:
Choose from many Bootstrap Glyphicon Components with icon picker
Customize button text
Customize button color
Customize icon size, and
Downloadable button (in the IPV6 version)
bGenerator Class
This class allows to print Bootstrap Glyphicon Components and text over a created image. It requires Glyphicons Unicode HTML Entites and glyphicons-halflings-regular.ttf.
The resulting image will be show on PNG, and saved the works in â./imgsâ folder.
Usage
Adding the class
require_once â./Class.bGenerator.phpâ;
Creating the object
$img = new bGenerator($UniHex, $text, $tcolor, $bsize, $bcolor);
Showing and saving the image
$img->show();
Share This Product