Archive - Feb 18, 2007

Date

Step by step showing you imarty 0.04's power!

Well, let me show you what I can do with my newest release of Imarty by doing one step at a time.
This is all the code you need

$imarty = new imarty('imagefile.xml');//get the XML file
$imarty->render();//render image
$imarty->output_image('gif');//out put gif image

First, let us create a image! Everything below is just changes of the imagefile.xml

<image w="20" h="20" cache="">
</image>

This defines the image's height and width, the cache system does not work yet but it will soon.

Honey Pot that kill bots