Hi,
I still don't understand why I can see the map and the graph image. :-(
I installed php 4.10 with the tar file
And I do a simple Gd test with:
And the result is correct.
Is there a tool to test GD on zabbix, or a log file that I can check to find the problem.
Thanks for your answer. ;-)
Smad
Red Hat 7.2, php 4.3.10, zabbix 1.0.
I still don't understand why I can see the map and the graph image. :-(
I installed php 4.10 with the tar file
And I do a simple Gd test with:
Code:
<?php
/** ImageCopyMerge***/
header ("Content-type: image/jpeg");
$filename = 'sample.jpg';
$img_src = ImageCreateFromJpeg ($filename);
$size = getimagesize($filename);
$img_des = ImageCreateFromJpeg ($filename);
$white = ImageColorAllocate
($img_des, 255, 255, 255);
ImageFilledRectangle
($img_des, 0, 0, $size[0], $size[1], $white);
$opacity = 25;
ImageCopyMerge
($img_des, $img_src, 0, 0, 0, 0,
$size[0], $size[1], $opacity);
ImageJPEG ($img_des);
ImageDestroy ($img_src);
ImageDestroy ($img_des);
?>
Is there a tool to test GD on zabbix, or a log file that I can check to find the problem.
Thanks for your answer. ;-)
Smad
Red Hat 7.2, php 4.3.10, zabbix 1.0.
tell me what else I can check to find the problem.
Comment