> For the complete documentation index, see [llms.txt](https://docs.scaleflex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scaleflex.com/portals/viewing-a-portal/working-with-assets.md).

# Working with assets

What a visitor can do with an asset once they open it.

Selecting an asset opens it in the view that suits its type — see [Gallery](https://docs.scaleflex.com/portals/viewing-a-portal/sections/gallery.md) for which is which. For images and most files that is the asset details view, described here. It works the same in a **gallery** and in a **share link**.

<figure><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2F8h6nN1OtX5150qw5rZNc%2Fimage.png?alt=media&#x26;token=0cc2a808-cd53-4491-b119-ccba031ac250" alt=""><figcaption><p>The asset details view: the asset on the left, everything known about it on the right.</p></figcaption></figure>

## The asset details view

The asset fills the left; its information sits on the right. The arrows either side move to the previous or next asset without closing the view, so a visitor can work through a set.

| Shown                                                       |                                                               |
| ----------------------------------------------------------- | ------------------------------------------------------------- |
| **File size** · **Resolution** · **Created** · **Modified** | The basics, as pills under the name.                          |
| **Title** and **Description**                               | The asset's title and description, in the visitor's language. |
| **Tags**                                                    | The asset's tags; a long list folds behind **Show more**.     |
| **Variations**                                              | Every rendition of the asset the DAM holds.                   |
| **Metadata**                                                | The asset's metadata fields, grouped.                         |

If an asset has no metadata the panel says so rather than showing an empty tab.

### The Metadata tab

Fields with no value are hidden by default; the **Show empty fields** switch shows them, and the browser remembers the choice for the next asset. Product information linked to the asset appears in its own **Product fields** group, and a field holding a web address has a **Copy URL** button beside it.

### Making room

The information panel can be as wide as a visitor needs:

* **Drag its edge** to resize it — the tooltip reads *Drag to resize · Double-click to reset*. With the edge focused, the arrow keys resize it too. The browser remembers the width.
* **Hide it** with the arrow button beside the asset. The asset then fills the screen, and a slim header above it keeps the file name, the **Variation** selector, **Regional settings** and **Download** within reach. The same button brings the panel back.

### Looking closer

* **Images** can be zoomed, up to five times their fitted size. The percentage shown beside the zoom controls returns to the fitted size when selected — *Reset zoom to fit*.
* **Videos** have a 360° button beside the player that switches to 360° playback, for footage shot that way; selecting it again returns to the normal player.
* **Documents** whose preview is turned off for that file type, or fails to load, show a message and a **Download file** button instead.

## Tags as a way to browse

When you have turned on **Allow searching by tags** in View options, the tags here become clickable: selecting one filters the gallery to assets carrying it.

It is the fastest route through a large, well-tagged library — a visitor who finds one right asset can get to the rest without constructing a search.

## Variations

Most assets exist in several renditions — sizes, crops and formats prepared in the DAM. The **Variations** tab lists them, and the selector at the top of the view switches which one is shown.

Each rendition carries its own **Embed**, **Options** and download button, and **Show more variations** reveals the rest when there are more than a few.

This is what stops visitors downloading a 40MB master when they needed a web-sized JPEG.

### Options: choosing a size and format

When none of the ready-made renditions is the right one, **Options** on a rendition opens the controls that decide exactly what comes down. A preview updates as they are changed, and **Download** at the bottom takes the result.

| Control                  | Choices                                                                        |
| ------------------------ | ------------------------------------------------------------------------------ |
| **Format**               | **WEBP**, **JPEG**, **PNG** or **GIF**.                                        |
| **Quality**              | **Excellent**, **Good** or **Fair** — a smaller file in exchange for fidelity. |
| **Preset**               | One of the transformations your DAM defines, or **Original** for none.         |
| **Width** and **Height** | Exact pixel values. Left alone they show the asset's own dimensions.           |

Under those sits a row of standard sizes. Selecting one fills in **Width** and **Height**, keeping the asset's proportions, so nobody has to work out the arithmetic:

| Size         | Width                                                              |
| ------------ | ------------------------------------------------------------------ |
| **Original** | The asset's own dimensions — the way back after trying the others. |
| **Full HD**  | 1920 px                                                            |
| **Large**    | 1200 px                                                            |
| **Medium**   | 600 px                                                             |
| **Small**    | 300 px                                                             |

In a narrow panel the last three shorten to **LG**, **MD** and **SM**. The tooltip beside the row says what they are for: *Resize to standardized measures or quickly revert to original.*

{% hint style="info" %}
**Original** here means the rendition's own size, and it is the quickest way out of a resize that went wrong — rather than typing the dimensions back in.
{% endhint %}

The same controls appear behind **Embed**, and in the download cart when a whole selection is being resized at once.

## Downloading

The **Download** button takes the asset as it stands. The arrow beside it opens the choice of what to take, each line carrying what it will cost:

| Option                    | Takes                                                          |
| ------------------------- | -------------------------------------------------------------- |
| **Original**              | The master file, with its format, weight and dimensions shown. |
| **Original + variations** | The master and every rendition, with the file count.           |
| **Variations**            | Every rendition but not the master, with the file count.       |

**Show all variations** opens the full list, for picking renditions one at a time instead.

Downloading is only offered when you have allowed it in View options.

## In a lightbox

Images shown outside a gallery — opened from an image or media section on a page — appear in a full-screen lightbox rather than the asset details view. It carries its own controls: **Download**, and **Add to cart** — which becomes **Remove from cart** once the asset is in it, so a visitor can undo the choice without leaving the image.

**Download** here offers the same **Original** / **Original + variations** / **Variations** choice, and **Show all variations** for picking one rendition. To take a specific size or format instead, open the asset in a gallery and use **Options** on a rendition, described above.

## Embed

**Embed** opens **Embed asset**, which gives a CDN link to the asset rather than a copy of it. It carries the same **Format**, **Quality**, **Preset**, **Width** and **Height** controls as [Options](#options-choosing-a-size-and-format), including the standard-size row, so the link can serve a resized version without anything being re-uploaded. The result shows in the **CDN link** field, and **Copy CDN link** puts it on the clipboard.

Use it for audiences who put your assets on their own pages: the link serves the right size and format automatically, and it keeps pointing at the asset in your DAM rather than a copy that will drift out of date.

## Linking to one asset

Opening an asset changes the address in the browser, so the address bar always points at the asset on screen rather than at the gallery behind it. Copy it, send it to a colleague, or bookmark it, and it opens the Portal with that asset already open — on the same tab, **Variations** or **Metadata**, that was showing when it was copied.

Because the asset is part of the address, the browser's **Back** closes it and returns to the gallery, and **Forward** opens it again. A visitor working through a set can back out one step instead of leaving the Portal.

{% hint style="info" %}
This is a link *into* your Portal, not a way around it. Whoever opens it still has to get in — sign in if the Portal is private, and be allowed to see the page the gallery sits on. To send an asset to someone who cannot open the Portal at all, use a share link instead.
{% endhint %}

A link that no longer finds its asset says so rather than dropping the visitor on the gallery without explanation. If nothing comes back for it — it was deleted in the DAM, or is no longer among the assets this gallery serves — they see **This asset is no longer available.** If the lookup itself fails, they see **Could not load this asset.**

## Regional settings

Where assets have language variants, the **Regional settings** control picks which the visitor sees — the asset itself, and its description, metadata and tags.
