mdn666 Posted May 7, 2010 Share Posted May 7, 2010 Hello there, I am trying to load a image stored in a mysql table. But somehow I can not make it work.... The image is stored by a .net windows form application in a table. So for so good. I can retreive this table and content with the .net application. Now the other part. I created a view in mysql and this view is called in my webpage. All fields are displayed in the html table, execept the image.... in dreamweaver the php file based on a template; the line <img src="scripts/PhPImage.php"> should display the image. PhPImage.php: $imagebytes= $row_Recordset1['ProductImage']; header("Content-type: image/jpeg"); echo $imagebytes; But the image is not displayed, so I do something wrong.... Can anybody help me?????? Cheers Marco! Quote Link to comment https://forums.phpfreaks.com/topic/201034-cannot-view-my-image-stored-in-mysql/ 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.