Reply to Re: Center text on image

Re: Center text on image new!
by colin, 17 years, 6 months ago
You should be able to use a line break. Make sure that your negative margin you set in $foo->image_crop is enough for two lines. Use something like 20 pixels, and you should be able to see the two lines.

Also, make sure that your string is enclosed in double quotes, not single quotes, otherwise the line break will not be interpreted. For instance:
$foo->image_crop = '0 0 -22 0';
$foo->image_text = "some text here\na new line";
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important