MySQL Forums
Forum List  »  Newbie

Storing & retrieving jpeg images in mysql
Posted by: Frederick Ahmed
Date: July 28, 2005 07:34AM

I have been trying to store and retrieve a jpeg image in mysql but keep getting broken links (ie the box with the red cross in the middle).

These are the ways I have tried and the results I got:

1. <img src="F:\Inetpub\wwwroot\StratfordKES.JPG" /> [returns broken link]

2. StratfordKES.JPG [returns broken link]

3. “StratfordKES.JPG” [returns text]

4. <img src=”StratfordKES.JPG" /> [returns broken link]

5. <a href=”StratfordKES.JPG”>Picture</a> [returns page not found for http://localhost/”StratfordKES.JPG” in address bar after clicking Picture]

Any hints, tips or siggestions would be greatly welcome (please note F:\ is my systems directory, not C:\).

Best regards
Frederick

Options: ReplyQuote


Subject
Written By
Posted
Storing & retrieving jpeg images in mysql
July 28, 2005 07:34AM


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.