View Single Post
Old 02-15-2006, 12:27 PM
  Alltribes's Avatar 
Alltribes Alltribes is offline

Senior Member
Join Date: Dec 2004
Posts: 192


Ok, I've got it!

Add this after #Company info
$message = wordwrap($giftcert["message"], 30, "\r \n");

Change the 30 to however many characters you want to wrap the text at.

And add this with the rest of the ImageTTFText statements

ImageTTFText($image, 10, 0, 190, 500, $black, $ttf_location,$message);

You'll need to mess with the layout a bit
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
Reply With Quote