Re: [PHP] Re: Displaying images

2009-05-28 Thread Shawn McKenzie
Miller, Terion wrote: > > > Well I have tried Numerous scripts and ways and still can't get the image to > display. > > I have echoed the file and have been able to get the gibberish image code to > display but not a real image, here is my full code if anyone wants to have a > look, I am goin

Re: [PHP] Re: Displaying images

2009-05-28 Thread Miller, Terion
On 5/28/09 2:09 PM, "Bastien Koert" wrote: On Thu, May 28, 2009 at 3:06 PM, Miller, Terion wrote: Well I have tried Numerous scripts and ways and still can't get the image to display. I have echoed the file and have been able to get the gibberish image code to display but not a real

Re: [PHP] Re: Displaying images

2009-05-28 Thread Bastien Koert
On Thu, May 28, 2009 at 3:06 PM, Miller, Terion < tmil...@springfi.gannett.com> wrote: > > > > Well I have tried Numerous scripts and ways and still can't get the image > to display. > > I have echoed the file and have been able to get the gibberish image code > to display but not a real image, he

Re: [PHP] Re: Displaying images

2009-05-28 Thread Miller, Terion
Well I have tried Numerous scripts and ways and still can't get the image to display. I have echoed the file and have been able to get the gibberish image code to display but not a real image, here is my full code if anyone wants to have a look, I am going crossed eyed here. These are j

Re: [PHP] Re: Displaying images

2009-05-28 Thread O. Lavell
Miller, Terion wrote: [..] > header("Content-type: img/jpeg"); [..] > This page isn't working and if I try to browse this page it wants to > open it with an editor, it won't view in the browser. > > What am I doing wrong? Is it the code or the data? "Content-type: img/jpeg" is undefined, the

Re: [PHP] Re: Displaying images

2009-05-28 Thread kranthi
I suggest you use firebug https://addons.mozilla.org/en-US/firefox/addon/1843 coming back to your case.. 1. use the inspect function of firebug to check if the is displaying correctly. 2 then use the net tab of firebug to see if the image is actually downloaded from the server. 3. open the link

Re: [PHP] Re: Displaying images

2009-05-27 Thread Shawn McKenzie
Shawn McKenzie wrote: > Miller, Terion wrote: >> Thanks for the suggestions everyone, I have this now, but still no image >> showing up >> >> It is stored as a blob in the database. >> >> on the output page I am calling it like this: >> >> > > I was assuming that ePhoto was the actual binary

Re: [PHP] Re: Displaying images

2009-05-27 Thread Shawn McKenzie
Miller, Terion wrote: > > Thanks for the suggestions everyone, I have this now, but still no image > showing up > > It is stored as a blob in the database. > > on the output page I am calling it like this: > > I was assuming that ePhoto was the actual binary data? If so then you need so

Re: [PHP] Re: Displaying images

2009-05-27 Thread Miller, Terion
Thanks for the suggestions everyone, I have this now, but still no image showing up It is stored as a blob in the database. on the output page I am calling it like this: Then on the image.php page I have this: This page isn't working and if I try to browse this page it wants to ope

Re: [PHP] Re: Displaying images

2009-05-27 Thread Ashley Sheridan
On Wed, 2009-05-27 at 15:14 -0400, Bastien Koert wrote: > On Wed, May 27, 2009 at 3:05 PM, Ashley Sheridan > wrote: > > > On Wed, 2009-05-27 at 14:03 -0400, Bastien Koert wrote: > > > On Wed, May 27, 2009 at 1:51 PM, Miller, Terion < > > > tmil...@springfi.gannett.com> wrote: > > > > > > > > > > >

Re: [PHP] Re: Displaying images

2009-05-27 Thread Bastien Koert
On Wed, May 27, 2009 at 3:05 PM, Ashley Sheridan wrote: > On Wed, 2009-05-27 at 14:03 -0400, Bastien Koert wrote: > > On Wed, May 27, 2009 at 1:51 PM, Miller, Terion < > > tmil...@springfi.gannett.com> wrote: > > > > > > > > > > > > > > On 5/27/09 12:49 PM, "Bastien Koert" wrote: > > > > > > On W

Re: [PHP] Re: Displaying images

2009-05-27 Thread Ashley Sheridan
On Wed, 2009-05-27 at 14:03 -0400, Bastien Koert wrote: > On Wed, May 27, 2009 at 1:51 PM, Miller, Terion < > tmil...@springfi.gannett.com> wrote: > > > > > > > > > On 5/27/09 12:49 PM, "Bastien Koert" wrote: > > > > On Wed, May 27, 2009 at 1:46 PM, Shawn McKenzie > >wrote: > > > > > Miller, Ter

Re: [PHP] Re: Displaying images

2009-05-27 Thread Shawn McKenzie
Miller, Terion wrote: > > > > Does the filename include the path? Does the image with said filename > actually exist in that path? > > -- > Thanks! > -Shawn > http://www.spidean.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

Re: [PHP] Re: Displaying images

2009-05-27 Thread Bastien Koert
On Wed, May 27, 2009 at 1:51 PM, Miller, Terion < tmil...@springfi.gannett.com> wrote: > > > > On 5/27/09 12:49 PM, "Bastien Koert" wrote: > > On Wed, May 27, 2009 at 1:46 PM, Shawn McKenzie >wrote: > > > Miller, Terion wrote: > > > I am trying to get an image to display but I get nothing if don

Re: [PHP] Re: Displaying images

2009-05-27 Thread Miller, Terion
On 5/27/09 12:49 PM, "Bastien Koert" wrote: On Wed, May 27, 2009 at 1:46 PM, Shawn McKenzie wrote: > Miller, Terion wrote: > > I am trying to get an image to display but I get nothing if done like > this: > > > > > > Scout Photo: > > > > > > > > > > > > > > If I just echo

Re: [PHP] Re: Displaying images

2009-05-27 Thread Bastien Koert
On Wed, May 27, 2009 at 1:46 PM, Shawn McKenzie wrote: > Miller, Terion wrote: > > I am trying to get an image to display but I get nothing if done like > this: > > > > > > Scout Photo: > > > > > > > > > > > > > > If I just echo the field I do get the file name > > > > Doe

[PHP] Re: Displaying images

2009-05-27 Thread Shawn McKenzie
Miller, Terion wrote: > I am trying to get an image to display but I get nothing if done like this: > > > Scout Photo: > > > > > > > If I just echo the field I do get the file name > Does the filename include the path? Does the image with said filename act