View Single Post
  #4 (permalink)  
Old February 13th, 2010, 01:48 AM
BozHogan BozHogan is offline
Authorized User
Points: 105, Level: 2
Points: 105, Level: 2 Points: 105, Level: 2 Points: 105, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Location: Wolfeboro, New Hampshire / Boston
Posts: 25
Thanks: 1
Thanked 4 Times in 4 Posts
Default Solution or workaround

I replaced the two relevant lines of codes at the top of both check_image.php and image_effect.php with the following:

Code:
putenv("GDFONTPATH=" . "C:/Windows/Fonts/");
$font = getenv('GDFONTPATH') . 'arial.ttf';
This solved the problem, at least on Windows Vista.

HTH,
Boz
Reply With Quote