Replace imagejpeg with imagepng, and where it says<br>
<br>
header(&quot;Content-Type: image/jpeg&quot;); <br>
<br>
or some such, change the MIME type to &quot;image/png&quot;.&nbsp; That should really be sufficient.<br><br>Then again, if you're lacking the GD library (which would be the only reason I can think of that imagejpeg wouldn't work), you're SOL.
<br><br>Jeremy<br><br><div><span class="gmail_quote">On 9/8/06, <b class="gmail_sendername">Harri Nyman</b> &lt;<a href="mailto:hny@ntek.tk">hny@ntek.tk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Josh Hoyt wrote:<br>&gt; On 9/8/06, Harri Nyman &lt;<a href="mailto:hny@ntek.tk">hny@ntek.tk</a>&gt; wrote:<br>&gt;&gt; First of all, must say I was pretty impressed with what I saw.. okay,<br>&gt;&gt; now to the not so pleasant part.
<br>&gt;&gt;<br>&gt;&gt; I have Debian Sid, with php5, php5-gd and php5-mysql installed on apache<br>&gt;&gt; 2 - captcha image is not working. Just to make things bit more<br>&gt;&gt; interesting, there is another application on same webserver which also
<br>&gt;&gt; uses php5-gd and that one is working perfectly fine...<br>&gt;&gt;<br>&gt;&gt; any suggestions where to look for solution?<br>&gt;<br>&gt; Just to confirm, you're talking about the JanRain PHP standalone<br>&gt; OpenID server, right?
<br>&gt;<br>&gt; Josh<br>&gt;<br><br>That is correct - and I've isolated the problem, it's imagejpeg<br>-function which is not working properly - is there any easy way to<br>replace jpeg with png image? My other application is using png images.
<br><br>I guess it's php installation issue, but to be honest, I have no idea<br>what I need to add into my system, and shooting into darkness is not my<br>thing... :)<br><br>Harri<br><a href="http://www.ntektechnologies.com">
http://www.ntektechnologies.com</a><br><br>_______________________________________________<br>general mailing list<br><a href="mailto:general@openid.net">general@openid.net</a><br><a href="http://openid.net/mailman/listinfo/general">
http://openid.net/mailman/listinfo/general</a><br></blockquote></div><br>