# New methods for asset management, image element handling, and page type identification

> Update: New methods for asset management, image element handling, and page type identification in the Designer API.

This release introduces new capabilities for asset management, image element manipulation, and page type identification in the Designer API.

## Feature highlights

* **Enhanced asset management** - New methods to retrieve and work with assets throughout your site
* **Image element manipulation** - Programmatically control image elements, including setting assets and alt text
* **Page type identification** - Determine the category of any page in your Webflow project

## New endpoints

### Image element methods

* **[`element.getAsset()`](/designer/reference/image-element/getAsset)** <br />
  Retrieve the asset currently assigned to an Image element, enabling dynamic content management.

* **[`element.setAsset(asset)`](/designer/reference/image-element/setAsset)** <br />
  Assign an asset to an Image element programmatically, perfect for automated content updates.

* **[`element.getAltText()`](/designer/reference/image-element/getAltText)** <br />
  Retrieve the accessibility alt text for an Image element on the canvas.

* **[`element.setAltText(altText)`](/designer/reference/image-element/setAltText)** <br />
  Set the accessibility alt text for an Image element, improving the site's accessibility.

### Asset management methods

* **[`webflow.getAllAssets()`](/designer/reference/get-all-assets)** <br />
  Retrieve all assets available on a site, providing a complete inventory for management and selection.

* **[`asset.getName()`](/designer/reference/get-asset-name)** <br />
  Get the name of a specific asset, useful for identification and organization.

* **[`asset.getMimeType()`](/designer/reference/get-asset-mime-type)** <br />
  Retrieve the MIME type of an asset, allowing for proper handling based on file type.

* **[`asset.getAltText()`](/designer/reference/get-alt-text)** <br />
  Get the accessibility alt text associated with a specific asset.

* **[`asset.setAltText(altText)`](/designer/reference/set-alt-text)** <br />
  Set the accessibility alt text for a specific asset, ensuring it's available whenever the asset is used.

### Page identification

* **[`page.getKind()`](/designer/reference/get-page-category)** <br />
  Determine the type of a Webflow page. Returns one of: `static`, `ecommerce`, `cms`, `userSystems`, `utility`, or `staticTemplate`.