Hi,
I’m trying to add vericode to my eForm that uses version 1.4.4. but it isn’t displaying an image. I am getting a "not available image" which points to
http://site.com/manager/includes/veriword.php?rand=2003364844 This problem is not really eForm specific, but hopefully in the correct place anyways.
Now if I target that address directly I get an fatal error which is probably the cause of the problem:
Fatal error: Call to undefined function imagettfbbox() in /site/manager/includes/veriword.php on line 126
Line 126 looks like:
$box = imagettfbbox ( $text_size, $text_angle, $text_font, $this->word);
Initially I thought that GD image wasn’t installed but according to phpinfo.php (and the provider) it is, using version "bundled (2.0.28 compatible)".
I’m using a 0.9.6 MODx & PHP 5.1.2 and would be grateful for any solution anyone can offer!
[EDIT]
After some more hunting it would appear that FreeType Support hasn’t been enabled. For anyone else as clueless as me when it comes to this sort of thing you can create a snippet with
<?php
var_dump(gd_info());
?>
which will return an array showing what exactly has been turned on and what not.
[/EDIT]
Taff