I have an image, but it keep doesn\'t display. I check the image properties (right-click and chose properties), and the I found the \"type\" is text/html not JPEG image. Is
header('Content-Type: image/jpeg');
Make sure to call the header() function before doing any output or you will get a "Headers already sent" error.