# Adding URL to Image/Button/Webviewer

**URL:** <https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584>\
**Category:** Questions about Thunkable X\
**Created:** [July 25, 2018, 5:50pm UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584 "2018-07-25T17:50:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cassie\_Hilton](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@Cassie\_Hilton](https://community.thunkable.com/u/Cassie_Hilton)\
**Post date:** [July 25, 2018, 5:50pm UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584/1 "2018-07-25T17:50:35Z")

</div>

I am stuck trying to add a url link to my app. I would like my thumbnail images to link to a Youtube/Vimeo URL. I don’t see a way to link a url to my images. Possibly a button would work, but I don’t see a way to add my image to the button (only style the background ‘color’. Also under the Blocks, I don’t see a way to link to an outside URL. The other option I tried was 'WebViewer; (which would allow me to connect to a URL) however I don’t see how I can add a thumbnail image to that. Thank you!

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [July 26, 2018, 12:13am UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584/2 "2018-07-26T00:13:02Z")

</div>

Cassie,

You can set the BackgroundPicture property of a Button in order to display your thumbnail image. That property can by a URL pointing to an image or you can display an image that you upload to your Thunkable project.

There are a couple of ways that you could then link to your Youtube/Vimeo URL. If you wanted to display the URL within your own app’s screen you could use a ‘when Click’ block on your button in which you would set the URL property of your Web Viewer to your Youtube/Vimeo URL. If you wanted to display the link in an external browser or YouTube/Vimeo app, you could use the “open link” block (within the Control category) inside your Button’s ‘when Click’ block.

Good luck and feel free to ask for more help if you need it.

-Mark

---

<div class="post-metadata">

**Author:** ![Cassie\_Hilton](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@Cassie\_Hilton](https://community.thunkable.com/u/Cassie_Hilton)\
**Post date:** [July 27, 2018, 2:35pm UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584/3 "2018-07-27T14:35:06Z")

</div>

Thank you so very much. That is really helpful.

---

<div class="post-metadata">

**Author:** ![coder\_riddhiman](https://avatars.discourse-cdn.com/v4/letter/c/cab0a1/32.png) [@coder\_riddhiman](https://community.thunkable.com/u/coder_riddhiman)\
**Post date:** [January 25, 2021, 4:18pm UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584/4 "2021-01-25T16:18:15Z")

</div>

I want to link the youtube page to my app… How to do it using web viewer

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [January 25, 2021, 4:22pm UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584/5 "2021-01-25T16:22:02Z")

</div>

@coder_riddhiman welcome to the Community.

Have you tried using the YouTube URL as the URL for your webviewer?

What sort of app are you trying to build? Please note that native mobile apps need to include more than “just” a web viewer.

Thanks.

---

<div class="post-metadata">

**Author:** ![allisonb996ry](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@allisonb996ry](https://community.thunkable.com/u/allisonb996ry)\
**Post date:** [July 20, 2021, 1:47pm UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584/6 "2021-07-20T13:47:53Z")

</div>

Is there any code I can use to add URL to a Button?

I’m trying to link a button to my blog for the about us page.

---

<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:** [July 20, 2021, 2:22pm UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584/7 "2021-07-20T14:22:59Z")

</div>

In the block `button click` add the block `Open Link` from `Control` drawer and assign your URL to the block.

---

<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:** [October 15, 2024, 4:05pm UTC](https://community.thunkable.com/t/adding-url-to-image-button-webviewer/37584/9 "2024-10-15T16:05:08Z")

</div>


