[PHP] Displaying images

2009-05-27 Thread Miller, Terion
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,

Re: [PHP] Displaying images

2009-05-27 Thread Michael A. Peters
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

[PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
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

Re: [PHP] PHP displaying images

2005-01-28 Thread Richard Lynch
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

Re: [PHP] PHP displaying images

2005-01-28 Thread Jason Wong
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(). --

Re: [PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
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:

Re: [PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
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

Re: [PHP] PHP displaying images

2005-01-28 Thread Jason Wong
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

[PHP] Displaying images

2003-02-22 Thread Robert Stermer-Cox
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

RE: [PHP] Displaying images

2003-02-22 Thread Matt Honeycutt
-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

RE: [PHP] Displaying images

2003-02-22 Thread Siddharth Hegde
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

Re: [PHP] Displaying images

2003-02-22 Thread Sam A. Funk
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

[PHP] Displaying images with php?

2002-06-05 Thread Ragnar
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

Re: [PHP] Displaying images with php?

2002-06-05 Thread Dan Hardiker
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

Re: [PHP] Displaying images with php?

2002-06-05 Thread Nick Wilson
-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

Re: [PHP] Displaying images with php?

2002-06-05 Thread Ragnar
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

Re: [PHP] Displaying images with php?

2002-06-05 Thread Miguel Cruz
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

[PHP] Displaying images in another page

2001-10-25 Thread Rudi Ahlers
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

Re: [PHP] Displaying images in another page

2001-10-25 Thread Matt McClanahan
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