---
title: "web_view"
manual: "TypoScript Explained"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3tsref:pagewebview@13.4"
source: "PageTsconfig/Mod/WebView.rst"
rendered: "2026-09-18T10:44:33+00:00"
---

# web_view {#pagewebview}

Configuration options of the "Web > View" module.

-   [previewFrameWidths](https://docs.typo3.org/permalink/t3tsref:previewframewidths@13.4)
-   [type](https://docs.typo3.org/permalink/t3tsref:type@13.4)

## previewFrameWidths {#previewframewidths}

-   **previewFrameWidths**

    -   *Type:* array

    Configure available presets in view module.

    -   **\<key>.label**

        Label for the preset

    -   **\<key>.type**

        Category of the preset, must be one of 'desktop', 'tablet' or 'mobile'

    -   **\<key>.width**

        Width of the preset

    -   **\<key>.height**

        Height of the preset

### Example: Define a new preview preset {#example-define-a-new-preview-preset}

With this configuration a new preset '1014' with size 1024x768 will be configured with a label
loaded from an xlf file and the category 'desktop'.

**EXT:site_package/Configuration/page.tsconfig**

```typoscript
mod.web_view.previewFrameWidths {
  1024.label = LLL:EXT:viewpage/Resources/Private/Language/locallang.xlf:computer
  1024.type = desktop
  1024.width = 1024
  1024.height = 768
}

```

![Dropdown menu Width with added frame size called myPreview](../../Images/ManualScreenshots/View/WebViewTSConfigPreview.png)

## type {#type}

-   **type**

    -   *Type:* positive integer

    Enter the value of the `&type=` parameter passed to the webpage.

### Example: Show pages of type 42 in the preview {#example-show-pages-of-type-42-in-the-preview}

**EXT:site_package/Configuration/page.tsconfig**

```typoscript
mod.web_view {
  # Frontend link will be something like index.php?id=123&type=42
  type = 42
}

```
