Localess

Assets

Upload and organise images, videos, and other files — then reference them from your content schemas.

Localess Assets is a file manager for all media and documents used across your content. Files are organised in a folder hierarchy and served via CDN URLs that you can reference from content schemas or fetch directly via the API.

Main Screen

Navigate to Assets from the side menu. Assets are displayed in a grid of folders and files, with folders always listed first.

Assets screen

The breadcrumb bar at the top of the asset grid shows your current location in the folder tree. Click any segment to navigate back up. Click a folder card to enter it.

Toolbar

ActionDescription
Upload AssetsSelect one or more files to upload to the current folder
Create FolderCreate a new subfolder in the current location
View toggleSwitch between grid and list view

Uploading Files

Files can be added in three ways:

  • Upload from device — click Upload Assets and select one or more files from your device.
  • Drag and drop — drag files directly onto the asset grid.
  • From URL — provide a web URL and Localess fetches and stores the file for you.

Multiple files can be uploaded at once. Each file shows an in-progress indicator while uploading. Once complete, the file card appears in the grid with its preview, type badge, and metadata.

Creating Folders

Click Create Folder and enter a name to create a new subfolder in the current location. Use folders to organise assets by project area, content type, or locale (e.g. images/, icons/, documents/).

File Cards

Each file card displays:

FieldDescription
PreviewThumbnail for images; icon for other file types
Type badgeFile extension shown in the top-right corner (e.g. .svg, .webp, .png)
NameFile name
SizeFile size in human-readable format (e.g. 4.49 MB)
DimensionsWidth × Height in pixels, shown for images and video (e.g. W3749 x H1804)
DurationPlayback length for animated and video files (e.g. Duration: 31s)
DateDate the file was uploaded

File Actions

Hover over a file card to reveal action buttons:

ActionDescription
Edit (pencil)Edit the file's alt text and other editable metadata
DownloadDownload the original file
DeletePermanently delete the file

Deleting a file that is referenced in published content will leave those references unresolvable. Check content usage before deleting.

Folder Actions

Hover over a folder card to reveal:

ActionDescription
Edit (pencil)Rename the folder
DeleteDelete the folder and all its contents

Pagination

The bottom of the asset grid shows the current page range and total item count. Use the Items per page dropdown to control how many assets are shown at once, and the arrow buttons to move between pages.

Alt Text

Each file has an optional alt field for accessibility and SEO. Set it by clicking the edit (pencil) action on a file card. The alt text is included in the API response and can be used directly in your image components.

Using Assets in Content

Reference an asset in a content schema by using a field of type Asset. When fetching content via the API the field resolves to a ContentAsset object containing the asset URI:

interface ContentAsset {
  kind: 'ASSET';
  uri: string; // Relative asset path
}

Resolve the URI to a full CDN URL using the SDK:

// @localess/client
const url = client.assetLink(content.data.image);

// @localess/react
import { resolveAsset } from "@localess/react";
const url = resolveAsset(content.data.image);

See Schemas for how to define asset fields in your content model.

On this page