When I had the same problem, actually Three newlines before the PNG, it
ended up being a single newline after the ?> in Three completely
unrelated controller files.  It took me days to figure this one out.
Make sure you are looking for extra whitespace in ALL your files, not
just the ones that are related to your image generation.

I also determined that having DEGUG = 1 did not affect the PNG.  The
browser seemed to ignore the HTML comment in the image file.

Good Luck.

meek wrote:
> Looking at the image source, I'm pretty sure there's some extra
> whitespace in there. - two newlines before the 'PNG' is outputted.
> Maybe you have some newlines outwith the <?php ?> tags?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to