MySQL Forums
Forum List  »  General

Re: Mysql Image Help
Posted by: STARYNKEVITCH Basile
Date: January 29, 2005 02:10AM

Dan Lester wrote:
[...]
> I want to create an online photo database, what I haven't been able to figure out is how to make an
> image load into the users web browser when the page is accessed.
[...]

You are asking at the wrong place. MySQL does not deal with the web (because it is totally unrelated to HTTP, HTML, JPEG...). MySQL deals only with the data, thru SQL queries.

So, in your MySQL database, you will either store the image binary representation (in a BLOB colmumn typically) or a reference (eg a file path or URL or number etc...) to it.

All the rest of your question is completely out of scope here; if you code in PHP, ask on a PHP forum....

And look at existing applications already doing similar things.

--
Basile STARYNKEVITCH :::: http://starynkevitch.net/Basile/

Options: ReplyQuote


Subject
Written By
Posted
January 28, 2005 06:42PM
Re: Mysql Image Help
January 29, 2005 02:10AM
January 29, 2005 07:53AM
January 29, 2005 11:12AM
January 29, 2005 11:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.