redscorpion1971 Posted May 12, 2006 Share Posted May 12, 2006 Is there a way to display an image from a blob field without having to change the page without having to change the content type. Basically I want to show 10 images at a time in an HTML table. Quote Link to comment Share on other sites More sharing options...
ryanlwh Posted May 12, 2006 Share Posted May 12, 2006 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 More sharing options...
lepetitcrabe Posted May 15, 2006 Share Posted May 15, 2006 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] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.