# \[Approval Form\] image to base64 string

**URL:** <https://community.yeeflow.com/t/approval-form-image-to-base64-string/259>\
**Category:** Ask the community\
**Created:** [April 11, 2024, 8:17am UTC](https://community.yeeflow.com/t/approval-form-image-to-base64-string/259 "2024-04-11T08:17:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.yeeflow.com/sam/32/151_2.png) [@Sam](https://community.yeeflow.com/u/Sam)\
**Post date:** [April 11, 2024, 8:17am UTC](https://community.yeeflow.com/t/approval-form-image-to-base64-string/259/1 "2024-04-11T08:17:30Z")

</div>

Hello,

Any way to convert the image to base64 string before submitting the form?

I tried to use a custom code to print the “Attachment” component value after I upload an image, but it only contains the below properties:

1. fileSize
2. id
3. name

Thank you!

---

<div class="post-metadata">

**Author:** ![Jason](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.yeeflow.com/jason/32/186_2.png) [@Jason](https://community.yeeflow.com/u/Jason)\
**Post date:** [April 18, 2024, 2:35am UTC](https://community.yeeflow.com/t/approval-form-image-to-base64-string/259/2 "2024-04-18T02:35:50Z")

</div>

Hi Sam，  
Converting images to Base64 is not supported. You can convert them through other methods before uploading or after downloading attachments.
