1

{ "type": "Buffer", "data": [ 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, 0, 0, 0, 32, 0, 0, 0, 32, 8, 6, 0, 0, 0, 115, 122, 122, 244, 0, 0, 0, 9, 112, 72, 89, 115, 0, 0, 11, 19, 0, 0, 11, 19, 1, 0, 154, 156, 24, 0,.....................continue......

Hello everyone!

I'm trying to make get request and display an image that stored in MySql database as blob type.
The type's image is .png.
I'm getting the above back from request, how can i solve this or maybe i did something wrong in database and now can't display the image?

Thank you very much!

4
  • Hello did you find any solution Commented Dec 22, 2020 at 12:13
  • No, but I realise that this is not the best way, I mean to save images in data base. So no i didn't find any solution but als it's not a good option. Commented Dec 22, 2020 at 18:23
  • i have the next example view the next link Commented Dec 23, 2020 at 10:10
  • Thank you very much! Commented Dec 23, 2020 at 17:38

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.