Re: Image_Graph/Image_Canvas
| From: | Jesper Veggerby Hansen | Date: | Wed, 10 Aug 2005 20:05:01 +0000 |
| Subject: | Re: Image_Graph/Image_Canvas | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39302@lists.php.net to get a copy of this message | ||
Hi Georg,
The correct/official way to do this is to open a bug in PEAR, but for
now it... has been fixed and is available in CVS (both 1. and 2. relates
only to Image_Canvas)
best regards
Jesper
Georg Bez wrote:
Hi,
after it the marvelous new version of Image_Graph/Image_Canvas out brought,
me a few little things were still noticeable. It would very nicely be if it
these insert could.
1.) Image_Canvas:
Can build to it please still another option "border = 0" into the function
"toHtml". Otherwise the imagemap look stupidly. :-)
http://cvs.php.net/co.php/pear/Image_Canvas/Canvas/GD.php?r=1.2#1500
2.) Image_Graph:
$imagemap_point_array = array(
'htmltags' => array( 'onMouseover' => 'alert( "Hello World!" );' ),
'url' => $_SERVER['PHP_SELF'].'?id=' . $v['x'],
'alt' => $v['x'],
'target' => '_self'
);
$Dataset->addPoint(
$v2['x'],
$v2['y'],
$imagemap_point_array );
The 'htmltags' are accepted and do not emerge not in the expenditure.
Directly in Image_Canvas it goes.
regards,
Georg