Installation struggles - debian, no captcha image with php5

Jeremy Smith jeremyrsmith at gmail.com
Fri Sep 8 17:42:49 UTC 2006


Replace imagejpeg with imagepng, and where it says

header("Content-Type: image/jpeg");

or some such, change the MIME type to "image/png".  That should really be
sufficient.

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.

Jeremy

On 9/8/06, Harri Nyman <hny at ntek.tk> wrote:
>
> Josh Hoyt wrote:
> > On 9/8/06, Harri Nyman <hny at ntek.tk> wrote:
> >> First of all, must say I was pretty impressed with what I saw.. okay,
> >> now to the not so pleasant part.
> >>
> >> I have Debian Sid, with php5, php5-gd and php5-mysql installed on
> apache
> >> 2 - captcha image is not working. Just to make things bit more
> >> interesting, there is another application on same webserver which also
> >> uses php5-gd and that one is working perfectly fine...
> >>
> >> any suggestions where to look for solution?
> >
> > Just to confirm, you're talking about the JanRain PHP standalone
> > OpenID server, right?
> >
> > Josh
> >
>
> That is correct - and I've isolated the problem, it's imagejpeg
> -function which is not working properly - is there any easy way to
> replace jpeg with png image? My other application is using png images.
>
> I guess it's php installation issue, but to be honest, I have no idea
> what I need to add into my system, and shooting into darkness is not my
> thing... :)
>
> Harri
> http://www.ntektechnologies.com
>
> _______________________________________________
> general mailing list
> general at openid.net
> http://openid.net/mailman/listinfo/general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-general/attachments/20060908/eaeee04a/attachment-0002.htm>


More information about the general mailing list