# External Links

[Sirv Media Viewer](/help/sirv-media-viewer/) can also display images which are not hosted in your Sirv account. They will display as static images (not zoomable).

Using an AI coding agent?

Install the [`sirv-media-viewer`](https://www.skills.sh/sirv/image-optimization-skill/sirv-media-viewer) skill, and your agent can add the viewer to your site. Ask in plain words, such as “Add a gallery with zoom and a [360 spin](/help/spin/getting-started/how-spin-files-are-created/) to the product page.” [See all 8 skills](/help/rest-api/sirv-skills-for-ai-agents/)

The images in this demo are served from a different domain (wikimedia.org):

![Passo di Giau mountain pass in the Dolomites](https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Passo_di_Giau.jpg/1280px-Passo_di_Giau.jpg)![Pilot Mountain](https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Pilot-Mountain-Szmurlo.jpg/1280px-Pilot-Mountain-Szmurlo.jpg)![Castle Mountain, Banff National Park](https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Castle_Mountain%2C_Banff_National_Park_of_Canada_-_Alberta_by_Kdruzhki.jpg/1280px-Castle_Mountain%2C_Banff_National_Park_of_Canada_-_Alberta_by_Kdruzhki.jpg)

External images are referenced with an `img` tag, using `data-src`, such as this:

```html
<div class="Sirv">
  <img data-src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Passo_di_Giau.jpg/1280px-Passo_di_Giau.jpg" data-type="static">
  <img data-src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Pilot-Mountain-Szmurlo.jpg/1280px-Pilot-Mountain-Szmurlo.jpg" data-type="static">
  <img data-src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Castle_Mountain%2C_Banff_National_Park_of_Canada_-_Alberta_by_Kdruzhki.jpg/1280px-Castle_Mountain%2C_Banff_National_Park_of_Canada_-_Alberta_by_Kdruzhki.jpg" data-type="static">
</div>
```

An extra tag `data-type="static"` can be added, to tell Sirv JS to treat the image as external and not attempt to resize or optimize it.

This will also reduce the number of requests and permit the image to load slightly faster.

## External videos

You can also display external videos in Sirv Media Viewer. They will simply be served from the third party server. Example:

```html
<div class="Sirv">
  <img data-src="https://another-website.com/folder/video.mpg" data-type="static">
</div>
```

However, we recommend uploading your videos to Sirv, so that they benefit from Sirv’s intelligent [video streaming](/help/sirv-media-viewer/media-types/video-streaming/), with automatic serving of the most suitable resolution to each user.

## No zoom or optimization

External images are simply served as they are, from the third-party server. None of Sirv’s special effects such as image zoom, dynamic resizing or image optimization can be applied.

To benefit from Sirv’s image zoom, resizing, optimization, dynamic imaging and other features, upload the images to your Sirv account.

Uploading can even be automated, with Sirv’s [REST API](/help/rest-api/reference/) or with automatic [image fetching](/help/getting-started/fetch-images/) if all the external images are on the same domain.

## Get advice

It is quick and easy to configure Sirv for your needs. [Contact the team at Sirv](https://sirv.com/help/support/#support) if you’d like to discuss your requirements.
