dynamic png not working

mike mike503 at gmail.com
Sun Mar 15 18:45:55 MSK 2009

no, that'd be a php thing most likely.

try firefox it's a bit more forgiving with incorrect headers. it could
be the build of php doesn't support it, or you have extra characters
in the file being outputted before the png data, so the browser is
getting trash... that's usually the case i see.

On Sun, Mar 15, 2009 at 8:33 AM, Chris Cortese
<cortese.consulting at gmail.com> wrote:
> I just noticed on one of my sites that my php script that calls
> header("Content-type: image/png") and imagepng(), etc., is not creating a
> png image.  This was working before but I've not only switched to nginx from
> Apache, I've also switched to a new server, new build of PHP, etc...
> Do I need to do something special with the nginx config to make this happen?

More information about the nginx mailing list