# Webviwer: show image or text if there is no internet connection!

**URL:** <https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921>\
**Category:** Questions about Thunkable X\
**Tags:** webviewer\
**Created:** [August 24, 2020, 5:26pm UTC](https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921 "2020-08-24T17:26:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.P](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mr.p/32/80275_2.png) [@Mr.P](https://community.thunkable.com/u/Mr.P)\
**Post date:** [August 24, 2020, 5:26pm UTC](https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921/1 "2020-08-24T17:26:49Z")

</div>

Hi,  
It’s possible to show a picture or a text message if webview cannot connect to internet instead of this ugly error message that shows on my iphone?

 ![IMG_3153](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/a/0abd55afcb61f7d64f4687f3572c82f8ee88530e.png)

If is possible how can I do this?  
I already try change the message with the “device is online” block but did not work.

---

<div class="post-metadata">

**Author:** ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)\
**Post date:** [August 24, 2020, 6:51pm UTC](https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921/2 "2020-08-24T18:51:31Z")

</div>

Using WEB API block

---

<div class="post-metadata">

**Author:** ![Mr.P](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mr.p/32/80275_2.png) [@Mr.P](https://community.thunkable.com/u/Mr.P)\
**Post date:** [August 24, 2020, 8:59pm UTC](https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921/3 "2020-08-24T20:59:29Z")

</div>

Thank you, do you mean query this error message with web api like in this exemple and change it?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/9/b9f9a1de2f7918960a8271ad16607fbd60b5906f.jpeg)

---

<div class="post-metadata">

**Author:** ![thanos-x](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/thanos-x/32/91404_2.png) [@thanos-x](https://community.thunkable.com/u/thanos-x)\
**Post date:** [August 24, 2020, 10:22pm UTC](https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921/4 "2020-08-24T22:22:17Z")

</div>

Why don’t you use 'device is online? ’ block in an if statement then you can post pictures and whatever you want.

---

<div class="post-metadata">

**Author:** ![Mr.P](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mr.p/32/80275_2.png) [@Mr.P](https://community.thunkable.com/u/Mr.P)\
**Post date:** [August 24, 2020, 10:37pm UTC](https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921/5 "2020-08-24T22:37:56Z")

</div>

I am using the block “device is online”, but looks on my project is not working OR maybe I have something wrong.

Here is my project using the block “device is online”.

 ![Anotação 2020-08-24 233404](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/a/4aed24ac752e6972f81208b1e4ca899ffd0f4827.png)

I still receive the error from my first post.  
😢

Thanks

---

<div class="post-metadata">

**Author:** ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)\
**Post date:** [August 25, 2020, 5:45am UTC](https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921/6 "2020-08-25T05:45:05Z")

</div>

this is the check when it is not clear whether a site is alive or not!

 ![webapi](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/2/521e4d476a840923eedaa033218a68c0068ae45a.jpeg)  
to check if the device is online is used block device is online?

---

<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, 12:24pm UTC](https://community.thunkable.com/t/webviwer-show-image-or-text-if-there-is-no-internet-connection/765921/7 "2024-11-08T12:24:40Z")

</div>


