1.

Solve : Image not outputting?

Answer»

Hey guys,

I seem to be missing something here, when I output an image to the BROWSER it comes out as broken and I have no idea why. The last project I did was a business card maker that outputted tons of (WORKING) images, and I'm doing everything the same here.

I use output BUFFERING, and wiping the buffer right before header() and imagejpeg() doesn't work. I THINK it may have something to do with my encoding, though I've played around with that too. The only difference between this project and the last is that I'm now using UTF-8 encoding, with the bom. I have DEFINE('_ISO','charset=UTF-8'); set as well as UTF-8 with BOM option set in my editer. Could that be affecting this?

Any ideas? Quote from: nicolemcgrgr50 on December 26, 2008, 12:07:36 PM

... when I output an image to the browser ....
What does that mean? Are you developing web pages?


Discussion

No Comment Found