# Sending image over the network

**URL:** <https://community.thunkable.com/t/sending-image-over-the-network/2550903>\
**Category:** Web API's\
**Created:** [August 18, 2023, 7:51pm UTC](https://community.thunkable.com/t/sending-image-over-the-network/2550903 "2023-08-18T19:51:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fifdee](https://avatars.discourse-cdn.com/v4/letter/f/b4bc9f/32.png) [@fifdee](https://community.thunkable.com/u/fifdee)\
**Post date:** [August 18, 2023, 7:51pm UTC](https://community.thunkable.com/t/sending-image-over-the-network/2550903/1 "2023-08-18T19:51:59Z")

</div>

Hey,  
I’m quite confused there’s no option to get base64 image representation from an image chosen with filepicker or made with camera. All I can get is the local filepath. I have my own API and I need that image to be sent with POST request. Any current proper workaround for this?? I found previous solution with webview (and file picker inside it) but it’ll harm user experience and generates additional latency to send image over the network.  
I’m new to Thunkable but I have clear vision what to achieve, and this functionality is crucial for me. I already bought the premium plan and I’m starting to regret it.  
Thanks for any help.

---

<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:** [August 21, 2023, 1:58pm UTC](https://community.thunkable.com/t/sending-image-over-the-network/2550903/2 "2023-08-21T13:58:32Z")

</div>

Hello @fifdee welcome to the community.  
You can use Web Viewer and HTML code to convert the image file to base64 and then send it through the API.  
More information can be found here:

> [@WEB API Firebase Storage It does not upload the file to the server](https://community.thunkable.com/t/web-api-firebase-storage-it-does-not-upload-the-file-to-the-server/2369895/4):
>
> Hello @whiterabbitstudio202 I’ve already created an app that uses the API Block to send an image file. I used Web Viewer and HTML code to convert the image file to base64 and then send it through the API. This is the code for HTML: \<!DOCTYPE html\> \<html\> \<body style="background-color:#18A2EB;"\> \<head\> \<meta charset="UTF-8" /\> \<meta name="viewport" content="width=device-width, initial-scale=1.0" /\> \<title\>Convert local file to Base64\</title\> \<script src="https://thunkab…

---

<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:33pm UTC](https://community.thunkable.com/t/sending-image-over-the-network/2550903/3 "2024-11-08T13:33:37Z")

</div>


