QUOTE(Wimpy @ 17 Aug, 2009 - 12:54 AM)

hmm, this could acutally be more of a html or css issue than a PHP problem unless you try to do it using GD Library. If you show your code someone would perhaps be able to help you! We won't do your homework for you! Show some good effort of trying to solve the problem yourself and post again!

QUOTE(pallavi312@rediff.com @ 17 Aug, 2009 - 10:00 AM)

Hello,
My Question is i have co-ordinartes (x,y). i want one image to be placed over another image at given co-ordinates positon as given above.
Please send me reply earlier......
hello,
my code is like that i m trying placing text over the image but it gives me error like this
"Warning: imagepsloadfont() [function.imagepsloadfont]: T1Lib Error: Premature End of Font File Encountered in C:\Program Files\Apache Group\Apache2\htdocs\test\text.php on line 9
Warning: imagepsloadfont() [function.imagepsloadfont]: Couldn't load the font in C:\Program Files\Apache Group\Apache2\htdocs\test\text.php on line 9
my code is below:
$im = imagecreatetruecolor(200, 200);
// Allocate colors
$black = imagecolorallocate($im, 0, 0, 0);
$white = imagecolorallocate($im, 255, 255, 255);
// Load the PostScript Font
echo "<br>forntL:".$font = imagepsloadfont('Fonts/Tahoma.ttf');
// Write the font to the image
imagepstext($im, 'Sample text is simple', $font, 12, $black, $white, 50, 50);
// Output and free memory
//header('Content-type: image/png');
imagepng($im);
imagedestroy($im);