i didnt think the align method would work - since it's php.
Barands version was abit sketchy - i copied his code, and implemented it.
Uploaded and ran the code but it was still NOT centered...
This is the the entire code for the strings -
// positioning below
$px = (imagesx($im)-5strlen($string1))/2;
ImageString($im,5,$px,10,$string1,$text_color1);
// (image,font (from 1 to 5),starting x position, y position,line of text,color)
$px = (imagesx($im)-5strlen($string2))/2;
ImageString($im,4,$px,25,$string2,$text_color2);
$px = (imagesx($im)-5strlen($string3))/2;
ImageString($im,4,$px,40,$string3,$text_color2);
$px = (imagesx($im)-5strlen($string4))/2;
ImageString($im,2,$px,55,$string4,$text_color1);
it isnt centered...so how do you think - using barands method it could be done (i've tried substitution)