0
Please how do I echo pictures from database using php in terms of HEADER (CONTENT -TYPE : IMAGE/JPEG).... I keep getting errors
I have the image stored as a blob in my database... but when I try to echo it out without the header,.... I get all sorts of binary rubbish but when I include the HEADER, it tells me image can't be displayed because it contains errors............ please I'd be grateful for your assistance THANKS!
1 Answer
+ 2
Use data uri link
https://code.sololearn.com/Ws47SL4aLH0g/?ref=app