I bet you have the following (o similar) statement somewhere in the code:
Text Formatted Code
...
header("Content-type: image/png");
...
Well, the story is that you are not allowed to execute "echo", "print", "print_r", "var_dump" or any other statements that write their output before you sent out the headers. Otherwise what kind of header will it be if it's sent half way through your content?