Hello
I am trying to use GD to create and manipulate images but the statement:
header (Content-type: image/jpg);
generates the error message:
The image http://localhost/gdtst2.php; cannot be displayed, because
it contains errors.
There is no error message in the ../httpd/error_log
Ian Johnson wrote:
I am trying to use GD to create and manipulate images but the statement:
header (Content-type: image/jpg);
generates the error message:
The image http://localhost/gdtst2.php; cannot be displayed,
because
it contains errors.
contains errors here
On Saturday 29 January 2005 10:13, Ian Johnson wrote:
There is no error message in the ../httpd/error_log file.
That looks like the Apache error log file, which is most likely not what you
want to be looking at. You want the PHP error log, see settings in php.ini,
and check phpinfo().
--
This does the same for png as well. No errors are generated when header
() is commented out or other content-types are specified
Ian Johnson
On Fri, 2005-01-28 at 20:45 -0800, Richard Lynch wrote:
Ian Johnson wrote:
I am trying to use GD to create and manipulate images but the statement:
Jason Wong wrote:
On Saturday 29 January 2005 10:13, Ian Johnson wrote:
There is no error message in the ../httpd/error_log file.
That looks like the Apache error log file, which is most likely not what you
want to be looking at. You want the PHP error log, see settings in php.ini,
and check
On Saturday 29 January 2005 13:42, Ian Johnson wrote:
My php is configured to write error messages to the http error_log and
not to display errors.
OK.
In this case the error is displayed and not logged.
If you're referring to this ...
The image http://localhost/gdtst2.php; cannot be
I have problem with jpg pictures in php pages. Path and picture is
correct but when i want see picture in php script picture don't show.
I use PHP4.3.4 on apache server 2.0.44 on Windopws 2000 Server.
Thanks for help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have a certain difficulties in case of processing large images thru GD2
library. GD2 has some problems with image processing and it results in some
exception and GD just crashes. I have to mention, that the crash causes whole
php interpreter to crash and execution of the script is terminated
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
...
The following is the tag inserted to my webpage:
img src=showpic.php?picid=1
View the source of this image to see if any php errors are being
displayed.
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP
Hey ..
I am having a problem when i try to pull an image that has been stored in
MS SQL Server from displaying properly. I know, its a waste of space to
store the actual image in SQL, but this is the way it needs to be done to
be compatible with some of the other systems. Anyway, if you have
Hi,
I'm working with PHP and ODBC to get images stored in a database (Blob fields). But I
experiment little problems to display these pics. Has anyone any information about
PHP/ODBC/images ?
Thanks,
Bilbo
How can I echo an image from other location than the mysql using this kind
of script?? since I'm using php to output the image from database, there's a
way to change it to a ftp link for example if image doesn't exists??
this is my script:
?
$sql = SELECT Imagem_data,Imagem_type FROM
Hi list,
I have some images stored in a blob in mysql. I've made this code to output
them to html, but the problem is if there's no image at a given id the page
tooks a long time to load and display the broken image, there's a way to
avoid this, I mean, there's a way to print a message or
My way around this is using two fallback stages: for one you test
mysql_num_rows() after performing the query. If that's 0, use a default image
placed in the database beforehand. If that also returns a null mysql_num_rows()
then echo an image (probably the same default) from a known location in
14 matches
Mail list logo