Lines Matching refs:img
268 $img = imagecreatetruecolor($w, $h);
269 $white = imagecolorallocate($img, 255, 255, 255);
270 imagefill($img, 0, 0, $white);
274 $color = imagecolorallocate($img, random_int(100, 250), random_int(100, 250), random_int(100, 250));
275 imageline($img, random_int(0, $w), random_int(0, $h), random_int(0, $w), random_int(0, $h), $color);
282 $color = imagecolorallocate($img, random_int(0, 100), random_int(0, 100), random_int(0, 100));
290 imagettftext($img, $size, $angle, $x, $y, $color, $font, $text[$i]);
294 imagepng($img);
296 imagedestroy($img);
382 * HTML for an img tag for the image captcha
390 $img = DOKU_BASE . 'lib/plugins/captcha/img.php';
397 '<img src="%s?%s" width="%d" height="%d" alt="" />',
398 $img,