I am trying to get an image to display but I get nothing if done like this:
tr
tdScout Photo:/td
tdimg src=?php echo $row['ePhoto'];?/td
/tr
If I just echo the field I do get the file name
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Miller, Terion wrote:
I am trying to get an image to display but I get nothing if done like this:
tr
tdScout Photo:/td
tdimg src=?php echo $row['ePhoto'];?/td
/tr
If I just echo the field I do get the file name
Do you get the just the file name or the
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
Greetings, All,
I'm a newbe to php and am trying to develop a routine to display artwork on
my wife's site. I want to load from a flat file information about the
artwork and image file names of the pieces. Then using the image file name,
I want to display the image to the browser. I've figured
-Original Message-
From: Robert Stermer-Cox [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 22, 2003 11:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Displaying images
Greetings, All,
I'm a newbe to php and am trying to develop a routine to display artwork on
my wife's site. I want to load from
PROTECTED]
Sent: Saturday, February 22, 2003 10:50 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Displaying images
Greetings, All,
I'm a newbe to php and am trying to develop a routine to display
artwork
on
my wife's site. I want to load from a flat file information about the
artwork and image file
Robert,
I am fairly new to php as well, but I think I may be able to help.
Unless you need to modify the images when you display them, you
should be able to just use html to display them as thus:
--Start Code Here
/* These variables would be filled in by the information you have
from your
What is the best way to display images in the browser with php? If i for
instance have the pictures in ..\pictures\
??
-Ragnar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is the best way to display images in the browser with php? If i
for instance have the pictures in ..\pictures\
Youre asking the wrong question. PHP doesnt display anything in the
browser... the browser does that job. What you can do is one of the
following:
1. Output content headers and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Ragnar declared
What is the best way to display images in the browser with php? If i for
instance have the pictures in ..\pictures\
print(img src=\../pictures/myPic.jpg\ alt=\\ /);
Or did i misunderstand you?
- --
Nick Wilson
Thx,
no, you did not misunderstand. Thats the way im building the html code for
displaying images now, but in the manual there is a lot of image-functions.
I thought that there maybe was some better way of displaying the images..
But... hey, if this is the way it is done i guess everything is
On Wed, 5 Jun 2002, Ragnar wrote:
no, you did not misunderstand. Thats the way im building the html code for
displaying images now, but in the manual there is a lot of image-functions.
I thought that there maybe was some better way of displaying the images..
The image functions are for
Hi
I would like to setup a banned ad server, and I will need the images to be
displayed in standard html pages, where the users don't have php access.
Thus, they should be able to call up the image from a normal html page, ie:
img align=center border=0
On Thu, Oct 25, 2001 at 10:30:24PM +0200, Rudi Ahlers wrote:
I would like to setup a banned ad server, and I will need the images
to be displayed in standard html pages, where the users don't have
php access. Thus, they should be able to call up the image from a
normal html page, ie: img
19 matches
Mail list logo