# Image to Base64 encoded string new component

**URL:** https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709
**Category:** Feedback
**Tags:** image, base64
**Created:** [November 19, 2021, 12:35pm UTC](https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709 "2021-11-19T12:35:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [November 19, 2021, 12:35pm UTC](https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709/1 "2021-11-19T12:35:20Z")

</div>

I just tested the newly added component in the `Camera and Media` drawer.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/9/e93526254a4858c82d9e47585ad89e438394d407.png)

I gave it a URL to test what will happen if the image is not part of the project assets. The process is slow but it works. I was able to use the API I built to save the image in Google drive and it worked successfully.

Thank you Thunkable team.

---

<div class="post-metadata">

### Author: ![good-starter432425](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@good-starter432425](https://community.thunkable.com/u/good-starter432425)
#### Post date: [November 19, 2021, 12:57pm UTC](https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709/2 "2021-11-19T12:57:21Z")

</div>

if a process is slow i make a button and a loading icon to the same place and when the button is pressed i make the button invisible and the loading icon visible.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [November 19, 2021, 3:21pm UTC](https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709/3 "2021-11-19T15:21:44Z")

</div>

I’m here giving a feedback and not asking for a solution for the speed.

In this experiment you need to consider 2 actions that are time consuming by nature.

- Retrieving the image from a remote location (internet URL)
- Converting the image from its current form to a long Base64 encoded string.

However, it is nice to have this feature which can open more doors of how to manipulate images.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 19, 2021, 3:30pm UTC](https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709/4 "2021-11-19T15:30:58Z")

</div>

I’m curious what that then allows you to do that wasn’t possible (or as easy) without Base64 encoding?

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [November 19, 2021, 3:38pm UTC](https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709/5 "2021-11-19T15:38:43Z")

</div>

> [@tatiang](#):
>
> what that then allows you to do

I prefer using `Firebase` for its speed and simplicity and up until this functionality, you will have to store your data in `Firebase` and store your images in `Cloudinary` if you don’t want to use APIs to push the images in a different cloud.

Now that this option is available, you can store the image as a Base64 string in `Firebase` as easy as storing any other variable. This allows me to get rid of the `Media DB` connector and gives the freedom of saving the images in a single **Datastore** along with app data.

---

<div class="post-metadata">

### Author: ![good-starter432425](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@good-starter432425](https://community.thunkable.com/u/good-starter432425)
#### Post date: [November 19, 2021, 5:19pm UTC](https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709/6 "2021-11-19T17:19:51Z")

</div>

okay 😟

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:14pm UTC](https://community.thunkable.com/t/image-to-base64-encoded-string-new-component/1624709/7 "2024-11-08T13:14:26Z")

</div>


