PHP GD Vertical Arrow

GD Vertical Arrow

<?php
header("Content-type: image/png");
$im = imagecreate(100, 100);


$lqvo = "10";
$gore = "10";
$param = "8";


$bg = imagecolorallocate($im, 255, 255, 255);

$red = imagecolorallocate($im, 255, 0, 0);

$points = array($lqvo, $gore, $param+$lqvo, $param+$gore, $lqvo, $gore + $param*2);
		        //up  start point   final point
$num = count($points) / 2;


imagepolygon($im, $points, $num, $red);
imagefilledpolygon($im, $points, $num, $red);


imagepng($im);
imagedestroy($im);
?>