ID:               47970
 User updated by:  niravdetroja at gmail dot com
 Reported By:      niravdetroja at gmail dot com
 Status:           Bogus
 Bug Type:         GD related
 Operating System: Unix or linux
 PHP Version:      5.2.9
 New Comment:

i use this code for generate that image
<?php
$bname = $_POST['bname']; 
$phone = $_POST['phone']; 
$email = $_POST['email'];


// first image

$im = imagecreate(600, 160);
imagecolorallocate($im,255,255,255);
$text_color = imagecolorallocate($im,0,0,0);
$ellip_color=imagecolorallocate($im, 110, 31, 136);
imagefilledellipse($im,20,20,20,20,$ellip_color);
$font="./ariblk.TTF";
imagettftext($im, 25, 0, 35, 35, $text_color, $font,$bname);
imagettftext($im, 25, 0, 35, 75, $text_color, $font,'Phone: '.$phone);
imagettftext($im, 25, 0, 35, 115, $text_color, $font,'Email:
'.$email);
imagejpeg($im, './images/1.jpg');
imagedestroy($im);
?>


Previous Comments:
------------------------------------------------------------------------

[2009-04-14 21:24:19] [email protected]

Sorry, this stinks pretty bad.

------------------------------------------------------------------------

[2009-04-14 20:43:39] niravdetroja at gmail dot com

Description:
------------
i tired to generate jpg images it generate but text is not shown

Reproduce code:
---------------
i tired to generate jpg images it generate but text is not shown

please check this link

http://noinvest.byethost7.com

i check all on windows it will generate all images with text.

but when i upload it to server it not generate text

my server support gd with freetype check it
 
http://noinvest.byethost7.com/phpinfo.php

help me please fast if possible


Expected result:
----------------
with text in jpg

http://noinvest.byethost7.com/images/1.jpg

it show with name phone and email

Actual result:
--------------
without text


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47970&edit=1

Reply via email to