# How Can I Get an Image URL?

### Obtaining an Image URL from Google Search or Any Source <a href="#obtaining-an-image-url-from-google-search-or-any-source" id="obtaining-an-image-url-from-google-search-or-any-source"></a>

1. Visit Google.com and enter your desired search term in the search box. For instance, you can replace 'funny cat' with any other search term you prefer. To ensure you find images that are likely royalty-free, consider adding 'royalty free' to your keyword. You can use this preformatted URL for convenience: <https://www.google.com/search?q=funny+cat+royalty+free>.
2. Locate the image you wish to obtain a URL for. Hover your mouse cursor over the image and right-click. This will display a popup menu.
3. Select 'Copy image address', and the image URL will be copied to your clipboard.
4. When you paste the URL using Ctrl + V or CMD + V, it will appear as follows: `https://images.pexels.com/photos/137049/pexels-photo-137049.jpeg?cs=srgb&dl=pexels-inge-wallumr%C3%B8d-137049.jpg&fm=jpg` Take note that the file extension, in this case, is `.jpeg`, indicating the image type.
5. You can utilize this URL in any field within Bubble Tea that requests an image URL. Keep in mind that images may vary in size when using this method, and Slack may not automatically expand large images.

<figure><img src="/files/2Gombxf99m80q3q4o321" alt=""><figcaption></figcaption></figure>

This method is not limited to Google search; you can employ it on any website that hosts images.

### Getting an Image URL from Giphy <a href="#getting-an-image-url-from-giphy" id="getting-an-image-url-from-giphy"></a>

If you're searching for entertaining images, including some that may not be suitable for the workplace, Giphy is a great place to explore. However, it's important to exercise discretion. Adding amusing GIFs to your Slack conversations can brighten your team's mood and strengthen bonds within the group.

Obtaining an image URL from Giphy may involve a few more steps compared to other websites, but once you become familiar with the process, it becomes straightforward.

Visit Giphy.com and use your preferred keyword for searching. I'll stick with 'funny cat,' but this time, I'll be an animated one.

<figure><img src="/files/vvYPNwMzI4N8v73IlXmz" alt=""><figcaption></figcaption></figure>

After you've found the GIF image you want to use, simply click on the image, and your screen will resemble the following (excluding the image, of course):

<figure><img src="/files/KC3xf827zem6oC1ikjfX" alt=""><figcaption></figcaption></figure>

**Follow these two simple steps:**

1. Click on "Share."
2. In the Share GIF dialog that appears, select "Copy GIF Link," and the image URL will be copied to your clipboard.

### Using an Image URL in Bubble Tea <a href="#using-an-image-url-in-bubble-tea" id="using-an-image-url-in-bubble-tea"></a>

After you've copied the image URL to your clipboard, you can then paste it into the field that requests an image URL. In this instance, I'll demonstrate how to use the image URL in Bubble Tea within the Group Greeting Cards dialog.

When you initiate the greeting card command `/card`, you'll encounter the following dialog. One of the fields in this dialog is labeled 'Cover Image URL.' You can paste the image URL from your clipboard using `Ctrl + V` (if you're using Windows) or `CMD + V` (if you're using Mac) into that field. If nothing happens, it's possible that your clipboard has been overwritten, and you'll need to repeat the steps to obtain an image URL again.

<figure><img src="/files/xbRY5tU1PFNZ3GujZvn0" alt="" width="375"><figcaption></figcaption></figure>

If the image URL is valid, you can click 'Preview' to view the image you've just pasted.

<figure><img src="/files/MwjSxoLv7biBiYbsdU1t" alt="" width="375"><figcaption></figcaption></figure>

Voilà! I hope you have as much fun using Bubble Tea as we have building it.<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tailrec.io/general-tips-and-tricks/how-can-i-get-an-image-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
