# Issues using ShareImage block \[May 2022\]

**URL:** https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636
**Category:** Issues / Bugs
**Tags:** share
**Created:** [May 20, 2022, 2:19am UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636 "2022-05-20T02:19:29Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)
#### Post date: [May 20, 2022, 2:19am UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/1 "2022-05-20T02:19:29Z")

</div>

Hi Thunkers,

When I try to share an Image using the `ShareImage` block to save a photo in Facebook, the post comes empty. For Whatsapp, Instagram or Google Drive (just to mention some tests I did) it’s shows a generic message error. The only thing that works is save locally.

![Captura de tela de 2022-05-19 23-15-37](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/2/52f9d6124802dab23218a2f5cdacfe610ff840c6.png)

Any idea about what’s happening? The documentation is very poor for this component…

Regards,

Paulo Vaz

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [May 20, 2022, 3:27am UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/2 "2022-05-20T03:27:37Z")

</div>

Hmm.

Can you share a picture that you take in-app? @paulovaz72

---

<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: [May 20, 2022, 12:11pm UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/3 "2022-05-20T12:11:11Z")

</div>

As far as I know the `share image` will work with images uploaded to the project as assets.

Actually I use it to save anything in the asset to WhatsApp. If you load a HTML file as asset then you can see the contents of it, one way to see what’s in it is to use the `share image`. It will not work with `share message`.

Although it is suppose to share an **image** but I use it to extract the HTML in the project.

---

<div class="post-metadata">

### Author: ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)
#### Post date: [May 20, 2022, 1:05pm UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/4 "2022-05-20T13:05:33Z")

</div>

> [@muneer](#):
>
> As far as I know the `share image` will work with images uploaded to the project as assets.

Yes, in this case the image is an HTML link. So will not work… There is a way to acquire the image as temporary asset just to make it shareable dynamically?

---

<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: [May 20, 2022, 1:09pm UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/5 "2022-05-20T13:09:29Z")

</div>

> [@paulovaz72](#):
>
> There is a way to acquire the image as temporary asset

Try the file picker. I did not try it myself but worth checking.

---

<div class="post-metadata">

### Author: ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)
#### Post date: [May 20, 2022, 1:18pm UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/6 "2022-05-20T13:18:26Z")

</div>

Thanks, but this will not work.

The image is already in the screen and came from Firebase, so don’t make sense select it from a local file.

☹

Since the `shareimage` block allows to refer any image (local or remote), the component must to work not only for APP assets. Looks like a serious issue for me.

---

<div class="post-metadata">

### Author: ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)
#### Post date: [May 20, 2022, 1:26pm UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/7 "2022-05-20T13:26:33Z")

</div>

Hi @jared

No, I didn’t tested with a picture take in-app.

Because for this case the image comes from a link recovered from Firebase, and I want the user to share with other apps (Facebook, Instagram, Whatsapp, etc)

The interesting is the `shareimage` block allows to save the image locally, but fails when you try to send the image to other apps.

```
Can we categorize this as a bug?
```

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [May 20, 2022, 2:47pm UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/8 "2022-05-20T14:47:36Z")

</div>

It’s not a bug. This would be a feature request to share images by url. The share block relies on a local file path to send a file (as its intended at this time).

I’ll update the docs

\*\*\* Share may have some issues. I can’t seem to have it pass along a file that choose in the dropdown picker. Anyone else seeing the same. I CAN send any file that I choose by using filePicker OR image LIbrary.

I just filed a ticket

---

<div class="post-metadata">

### Author: ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)
#### Post date: [May 20, 2022, 3:01pm UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/9 "2022-05-20T15:01:48Z")

</div>

Understood!

This situation looks like the case of using App Variables inside loops (which it allows, but doesn’t work): since Thunkable allows it, it should work or not allow the use in these cases.

So I believe it’s a design/implementation error, but it would help a lot if it was in the online documentation that the block shouldn’t be used for images coming from an HTML link. That way you would avoid wasting time trying to get it working, debugging, searching and asking here.

**[UPDATE]**  
Anyway, I’m happy you find other issue and also will update the Docs.

And I will insert this as feature request [here](https://community.thunkable.com/t/41-ideas-for-thunkable-improvement/) 🙂

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [August 18, 2022, 3:02pm UTC](https://community.thunkable.com/t/issues-using-shareimage-block-may-2022/1885636/10 "2022-08-18T15:02:49Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
