# How to convert an image to Base64 without MediaDB?

**URL:** <https://community.thunkable.com/t/how-to-convert-an-image-to-base64-without-mediadb/2433107>\
**Category:** Questions about Thunkable X\
**Created:** [May 24, 2023, 3:34am UTC](https://community.thunkable.com/t/how-to-convert-an-image-to-base64-without-mediadb/2433107 "2023-05-24T03:34:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 24, 2023, 3:34am UTC](https://community.thunkable.com/t/how-to-convert-an-image-to-base64-without-mediadb/2433107/1 "2023-05-24T03:34:56Z")

</div>

A simple example is in ACtech demo 2023

[https://x.thunkable.com/projects/646c8b84575ef2cccbaf5e73/project/properties/designer](https://x.thunkable.com/projects/646c8b84575ef2cccbaf5e73/project/properties/designer)

on the screen “scrImageToBase64”

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 24, 2023, 8:32am UTC](https://community.thunkable.com/t/how-to-convert-an-image-to-base64-without-mediadb/2433107/2 "2023-05-24T08:32:25Z")

</div>

Hi, the proposed method has a drawback - a limit on the amount of data that can be transmitted through the URL. Perhaps the Receive Message block also has some limitations, although I have seen an example where a fairly large amount of data is transmitted through it.

So, the task is to transfer a large amount of data to the JavaScript side. If the data does not need to be hidden in secret, then you can implement access to the database on the JavaScript side and get a large amount of data.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [May 24, 2023, 10:44am UTC](https://community.thunkable.com/t/how-to-convert-an-image-to-base64-without-mediadb/2433107/3 "2023-05-24T10:44:01Z")

</div>

Thanks for sharing @actech - great to see you in the Community again!

---

<div class="post-metadata">

**Author:** ![Alex\_Ander](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@Alex\_Ander](https://community.thunkable.com/u/Alex_Ander)\
**Post date:** [May 25, 2023, 10:48am UTC](https://community.thunkable.com/t/how-to-convert-an-image-to-base64-without-mediadb/2433107/4 "2023-05-25T10:48:58Z")

</div>

Hi, the proposed method has a drawback - a limit on the amount of data that can be transmitted through the URL. Perhaps the Receive Message block also has some limitations, although I have seen an example where a fairly large amount of data is transmitted through it.

So, the task is to transfer a large amount of data to the JavaScript side. If the data does not need to be hidden in secret, then you can implement access to the database on the JavaScript side and get a large amount of data.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [August 23, 2023, 10:49am UTC](https://community.thunkable.com/t/how-to-convert-an-image-to-base64-without-mediadb/2433107/5 "2023-08-23T10:49:03Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
