Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image create ok on server but not ok on web !

Status
Not open for further replies.

Dirk2610

Programmer
Oct 1, 2000
1
NL
I made some php programs that create a gif 'on the fly'
Everything works ok when I try it on the server, but when I load the image on a client only 10% of the image is shown and IE 'hangs'. Does someone experienced the same problem or does somebody knows what the problem is ?

One of my (stripped) sources)

<?php
header(&quot;Content-type: image/gif&quot;);
$image=imagecreatefromgif(&quot;jr.gif&quot;);
$grey=imagecolorallocate($image,210,210,210);
$darkgrey=imagecolorallocate($image,150,110,150);
imagestring($image,-2,5,$y,($hoog),0);
imagedashedline($image,40,$y,$xmax,$y,$darkgrey);
imagestring($image,-2,220,190,$txt,0);
imagegif($image);
?>

[sig][/sig]
 
With the script everything is ok.

I'm working with image creation too.

With me it's working fine by showing the images on the page.
Got no Idea what the problem can be, sorry.
(I'm thinking of saving the images and then show them.)

>:):O> anita [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top