Image that you generate is not displayed in PHP
I just made form that inputs some text and an image into a web page. The text update fine but the image doesnt show. i don't know whats the problem can you help me ?
Re: Image that you generate is not displayed in PHP
It may be that the browser displays weird characters or do nothing at all displays when you send an image to the browser.
On the one hand there should be nothing other than send the image (either the html code, characters, etc ...) and secondly you must specify the type of image to display.
To specify the type of image that we display to the browser, it is enough to top a code that differs depending on the type of the image but may take the following values (and other less commonly used):
<?php header ( 'Content-type: image/gif' ); ?>
|Tags: image, php|
|Thread Tools||Search this Thread|
|Similar Threads for: "Image that you generate is not displayed in PHP"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Image cannot be displayed on PC.||Aaghaz||Operating Systems||4||02-01-2011 10:35 AM|
|How to generate a Box model and Floating image||WeezY||Software Development||3||09-10-2009 11:42 PM|
|Image thumbnails generate then disappear||Ion Control||Vista Help||5||08-07-2009 08:52 AM|
|Different image displayed in thumbnails||sligh||Customize Desktop||4||19-01-2009 01:20 PM|