# How can I Reduce Image Size such as from 4 MB to 200 KB with Thunkable X

**URL:** <https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180>\
**Category:** Questions about Thunkable X\
**Created:** [November 30, 2019, 10:46pm UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180 "2019-11-30T22:46:21Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![peacehero](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/peacehero/32/41264_2.png) [@peacehero](https://community.thunkable.com/u/peacehero)\
**Post date:** [November 30, 2019, 10:46pm UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/1 "2019-11-30T22:46:21Z")

</div>

Hello, I want to save image to database as low sized. But how to reduce image size?

---

<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:** [December 1, 2019, 8:15am UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/2 "2019-12-01T08:15:24Z")

</div>

Hello

This can be done using the Cloudinary API. See [https://cloudinary.com/documentation/image\_transformations#adjusting\_image\_quality](https://cloudinary.com/documentation/image_transformations#adjusting_image_quality)

Best regards, Alex  
[ACtech demo project](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/)  
[Thunkable X Basic Programming Course](http://droidscript.ru/main/title_ds15.php)  
[Block Reference](http://droidscript.ru/main/statyi/thunkableios_blockhelper.php)  
[Component Reference](http://droidscript.ru/main/statyi/thunkableios_objects.php)  
[Bug tracker](https://x.thunkable.com/projects/5dbd5243a77acad1b26f851f/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![peacehero](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/peacehero/32/41264_2.png) [@peacehero](https://community.thunkable.com/u/peacehero)\
**Post date:** [December 1, 2019, 8:53am UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/3 "2019-12-01T08:53:25Z")

</div>

Thanks, but I’m not familiar with Cloudinary API. Could you suggest some tutorials to do that?

---

<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:** [December 1, 2019, 8:59am UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/4 "2019-12-01T08:59:01Z")

</div>

Docs from Thunkable [https://docs.thunkable.com/media-db](https://docs.thunkable.com/media-db)

Thunkable X does not work with the file system, so you need to find a service that can save the image with a reduced size. With Thukable X, you can only save it as text (base64 format)

Best regards, Alex  
[ACtech demo project](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/)  
[Thunkable X Basic Programming Course](http://droidscript.ru/main/title_ds15.php)  
[Block Reference](http://droidscript.ru/main/statyi/thunkableios_blockhelper.php)  
[Component Reference](http://droidscript.ru/main/statyi/thunkableios_objects.php)  
[Bug tracker](https://x.thunkable.com/projects/5dbd5243a77acad1b26f851f/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![peacehero](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/peacehero/32/41264_2.png) [@peacehero](https://community.thunkable.com/u/peacehero)\
**Post date:** [December 1, 2019, 9:07am UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/5 "2019-12-01T09:07:35Z")

</div>

Okey, and this service costs money just to do thing I want?

---

<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:** [December 1, 2019, 9:28am UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/6 "2019-12-01T09:28:34Z")

</div>

There may be both paid and free solutions.

---

<div class="post-metadata">

**Author:** ![Hayder](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hayder/32/153829_2.png) [@Hayder](https://community.thunkable.com/u/Hayder)\
**Post date:** [December 1, 2019, 9:54am UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/7 "2019-12-01T09:54:56Z")

</div>

The best free website to reduce images size without reducing the resolution.

> **[TinyPNG – Compress PNG images while preserving transparency](https://tinypng.com/)**
>
> Make your website faster and save bandwidth. TinyPNG optimizes your PNG images by 50-80% while preserving full transparency!

---

<div class="post-metadata">

**Author:** ![peacehero](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/peacehero/32/41264_2.png) [@peacehero](https://community.thunkable.com/u/peacehero)\
**Post date:** [December 1, 2019, 10:51am UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/8 "2019-12-01T10:51:34Z")

</div>

Thanks @ [hayder\_g\_al-lami](http://community.thunkable.com/u/hayder_g_al-lami) I dont know how to use Developer API of this site. Is there any tutorial for this?

---

<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:** [December 1, 2019, 3:59pm UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/9 "2019-12-01T15:59:23Z")

</div>

Example upload from URL

 ![изображение](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/7/e70cc23089509aa9cba08d49d6666e4ebfbad447.png)

See [TinyPNG – API Reference](https://tinyjpg.com/developers/reference) for details.

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [May 2, 2020, 5:33pm UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/10 "2020-05-02T17:33:30Z")

</div>

Hi @actech!

Could you please guide on uploading from gallery (through the photo library component)?

Thanks!

---

<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, 11:29am UTC](https://community.thunkable.com/t/how-can-i-reduce-image-size-such-as-from-4-mb-to-200-kb-with-thunkable-x/345180/11 "2024-11-08T11:29:31Z")

</div>


