Getting similar error message, just installed GD 2.0.23
---------- begin error msg --------------------
Warning: Division by zero in /var/www/html/forums/includes/functions_file.php on line 44
Warning: Division by zero in /var/www/html/forums/includes/functions_file.php on line 45
Warning: Division by zero in /var/www/html/forums/includes/functions_file.php on line 53
Warning: Division by zero in /var/www/html/forums/includes/functions_file.php on line 54
Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /var/www/html/forums/includes/functions_file.php on line 57
----------- end error msg ---------------
-- line 44 -- $width_factor = $w / $maxattachwidth;
-- line 45 -- $height_factor = $h / $maxattachheight;
-- line 53 -- $nw = round($w / $height_factor);
-- line 54 -- $nh = round($h / $height_factor);
-- line 57 -- $ni=imagecreatetruecolor($nw,$nh);
|