RE: How can I display images from a mySQL Database in a web page?

2003-07-16 Thread Jef S
luck, Jef -Original Message- From: Dan Anderson [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 4:31 PM To: Partap Davis Cc: [EMAIL PROTECTED] Subject: Re: How can I display images from a mySQL Database in a web page? I think there is a way to insert binary image data

Re: How can I display images from a mySQL Database in a web page?

2003-07-16 Thread Peter Burden
Dan Anderson wrote: I have created a BLOB field to store images. Is there any way to embed them within HTML with something like: I've done some notes on this at http://www.scit.wlv.ac.uk/~jphb/sst/php/extra/images1.html - assuming of course you're using PHP as a WWW backend to dig the stuff

RE: How can I display images from a mySQL Database in a web page?

2003-07-16 Thread M. Bader
image start: jpeg /image use this: echo 'img src='.mysql_result($conn, 0, 0).' alt='; where 0,0 is the result-set index for your mysql field. you might use other mysql functions of course, but the place to put the output in is the same the html-source code will look like it is

How can I display images from a mySQL Database in a web page?

2003-07-15 Thread Dan Anderson
I have created a BLOB field to store images. Is there any way to embed them within HTML with something like: image start: jpeg /image Thanks in advance, Dan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL

Re: How can I display images from a mySQL Database in a web page?

2003-07-15 Thread colbey
THis is kinda offtopic.. it depends on what frontend you are using to access mysql (php,java,perl,etc) .. You just need to pull the binary data and output it with the correct http headers and it will show up in a browser.. search the list for more info. www.php4.com has an example using php..

Re: How can I display images from a mySQL Database in a web page?

2003-07-15 Thread Partap Davis
I think there is a way to insert binary image data in your html, but is there any particular reason you need to do that? First you would need to encode it in some ascii equivalent (check w3c.org, I think) ...and it would increase the size of your html page while rendering the browser's image

Re: How can I display images from a mySQL Database in a web page?

2003-07-15 Thread William R. Mussatto
I think there is a way to insert binary image data in your html, but is there any particular reason you need to do that? First you would need to encode it in some ascii equivalent (check w3c.org, I think) ...and it would increase the size of your html page while rendering the browser's image

Re: How can I display images from a mySQL Database in a web page?

2003-07-15 Thread Dan Anderson
I think there is a way to insert binary image data in your html, but is there any particular reason you need to do that? Yes, my client's server is running with particularly restrictive PHP safe mode settings and has informed me that dynamic images are a /must have/. :: bangs head against

Re: How can I display images from a mySQL Database in a web page?

2003-07-15 Thread Keith C. Ivey
On 15 Jul 2003 at 18:31, Dan Anderson wrote: I think there is a way to insert binary image data in your html, but is there any particular reason you need to do that? Yes, my client's server is running with particularly restrictive PHP safe mode settings and has informed me that dynamic