Jump to content

Display image from BLOB field


Recommended Posts

not clear for me,.... i' trying to display a price list (image + price) on 1 page. Can't manage to display the pic... all i'm getting is binary data... and when i'm changing the header i get an error msg saying it's already been declared...


[!--quoteo(post=373317:date=May 12 2006, 11:01 PM:name=ryanlwh)--][div class=\'quotetop\']QUOTE(ryanlwh @ May 12 2006, 11:01 PM) [snapback]373317[/snapback][/div][div class=\'quotemain\'][!--quotec--]
you have to create a separate script that use the content type header to display a specific image, and then use the following HTML code to display them:

[code]<img src="display_img.php?imgID=1" />[/code]

Clear enough?
[/quote]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.