# Unable to remove photo with blocks

**URL:** <https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571>\
**Category:** Questions about Thunkable X\
**Created:** [October 25, 2018, 11:48am UTC](https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571 "2018-10-25T11:48:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 25, 2018, 11:48am UTC](https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571/1 "2018-10-25T11:48:23Z")

</div>

Hello, I have a small project and in it I am unable to remove the image, I have to press the button twice for the image to dissapear, in my other projects the image dissapears in one click, any ideas ?

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/304b5227dff3a50441592151c0ad1a2aa4968910.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/9/19c42e75edaa73f6d39dcd7017087d70197f5183.png)

Thanks !

---

<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:** [October 25, 2018, 2:00pm UTC](https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571/2 "2018-10-25T14:00:53Z")

</div>

Hi,

Try loading a small transparent and blank image into Image.Picture.

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 25, 2018, 2:12pm UTC](https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571/3 "2018-10-25T14:12:10Z")

</div>

I’ll try, but isn’t it supposed to work this way ? Because it works for the test project I made 😕

---

<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:** [October 25, 2018, 6:45pm UTC](https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571/4 "2018-10-25T18:45:55Z")

</div>

I noticed oddities when working with Image, so I offer the most reliable option in my opinion. Image.Picture = empty string. Are you sure this should work? I’m not sure.

Try assigning a transparency pixel in base64 format to clean the image.

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA3NCSVQICAjb4U/gAAAABlBMVEX///////9VfPVsAAAAAnRSTlMA/1uRIrUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAWdEVYdENyZWF0aW9uIFRpbWUAMTAvMjUvMTiIqf3fAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAAApJREFUCJljYAAAAAIAAfRxZKYAAAAASUVORK5CYII=

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 25, 2018, 8:27pm UTC](https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571/5 "2018-10-25T20:27:53Z")

</div>

I’m sorry but how should I insert the code you sent me ? I failed to understand

---

<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:** [October 26, 2018, 5:31am UTC](https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571/6 "2018-10-26T05:31:57Z")

</div>

Paste this code in the text block that is assigned to Image2.Picture. In the Image.Picture property, you can specify not only the name of the image file, but also the code of this image in base64 format. I think this news may seem interesting to you, because it allows you to work with images (save, send, etc.) in text format base64.

![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/2/f2f385b11b7b9cc6a5b875d1980668894f4d93ee.png)

---

<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:54am UTC](https://community.thunkable.com/t/unable-to-remove-photo-with-blocks/53571/7 "2024-11-08T11:54:56Z")

</div>


