amalosoul Posted July 12, 2008 Share Posted July 12, 2008 I am trying to display a binary image without using the header() function offered by php. Does anyone know if one can display an image stored as blob (after storing it in a variabile, of course) using html ? Thank you in anticipation! Quote Link to comment Share on other sites More sharing options...
spiceydog Posted July 16, 2008 Share Posted July 16, 2008 Have you tried rebooting your computer? Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted July 16, 2008 Share Posted July 16, 2008 Does anyone know if one can display an image stored as blob (after storing it in a variabile, of course) using html ? No, that''s not possible. Quote Link to comment Share on other sites More sharing options...
amalosoul Posted July 17, 2008 Author Share Posted July 17, 2008 Well this is half not true ... I don't understand why IE doesn't display this: $string = "\"data: image/jpg;base64,".$array[1]."\""; and then I use this string as src for my image. Firefox displays it but IE does not... P.S. that $array[1] is my encoded blob Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted July 17, 2008 Share Posted July 17, 2008 You are still using PHP to generate it - not HTML. Besides, you shouldn't do that seeing as it would be impossible to cache it. 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.