# How to display binary jpg data from a response as an image in display block of postman flows?

**URL:** <https://community.postman.com/t/how-to-display-binary-jpg-data-from-a-response-as-an-image-in-display-block-of-postman-flows/80449>\
**Category:** Help Hub\
**Tags:** postman-flows\
**Created:** [May 26, 2025, 6:34pm UTC](https://community.postman.com/t/how-to-display-binary-jpg-data-from-a-response-as-an-image-in-display-block-of-postman-flows/80449 "2025-05-26T18:34:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![naim-chowdhury-seiza](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@naim-chowdhury-seiza](https://community.postman.com/u/naim-chowdhury-seiza)\
**Post date:** [May 26, 2025, 6:34pm UTC](https://community.postman.com/t/how-to-display-binary-jpg-data-from-a-response-as-an-image-in-display-block-of-postman-flows/80449/1 "2025-05-26T18:34:43Z")

</div>

In my postman flow I receive from a request a response that is the binary data of a file, let’s say it’s an jpg. How do I convert the jpg into base64 in order to have it show in the display block of postman flows? Or how do I display the binary data in the display block in general?

Thanks

---

<div class="post-metadata">

**Author:** ![naim-chowdhury-seiza](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@naim-chowdhury-seiza](https://community.postman.com/u/naim-chowdhury-seiza)\
**Post date:** [May 26, 2025, 7:58pm UTC](https://community.postman.com/t/how-to-display-binary-jpg-data-from-a-response-as-an-image-in-display-block-of-postman-flows/80449/2 "2025-05-26T19:58:20Z")

</div>

Resolved by just encoding in base64, adding mime and data uri prefix on the backend

---

<div class="post-metadata">

**Author:** ![lunar-module-1](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/lunar-module-1/32/26132_2.png) [@lunar-module-1](https://community.postman.com/u/lunar-module-1)\
**Post date:** [May 28, 2025, 2:12am UTC](https://community.postman.com/t/how-to-display-binary-jpg-data-from-a-response-as-an-image-in-display-block-of-postman-flows/80449/3 "2025-05-28T02:12:55Z")

</div>

we do intend to make this simpler.
