header('Content-Type: image/jpeg');
imagejpeg($image);
header('Content-Type: image/png');
imagepng($image);
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Riba wrote: Just wanted to let everyone know that I have found the fix.
It seems that the problem is there only if jpeg image is used, there are no problems with png. Replace the following code in captchasecurityimages.php:with:header('Content-Type: image/jpeg'); imagejpeg($image);header('Content-Type: image/png'); imagepng($image);
It was a tough one to find as no errors were reported, but this does the trick. Root cause is till unknown, probably something to do with the type library and jpeg encoding, but who cares. Hoe it helps others.
Please Log in to join the conversation.
Please Log in to join the conversation.