---
title: "getProofImages Method"
canonical: https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.editor.getproofimages.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["4.4.25", "4.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# getProofImages Method

**Applies to:** Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · **Archived documentation**
 
### Callable
 
- getProofImages(options?:  object ) :  Promise &lt; [IProofResult](https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.editor.iproofresult.htm.md) &gt;

- Renders proof images with the optional maximum width and height. For details, see the [Introducing the IFrame API](https://customerscanvas.com/docs/cc4/handling-product-customization.htm.md) topic.
  
 - example
     - ```
    // Getting links to proof images.
    editor.getProofImages({maxHeight: 720, maxWidth: 720})
        // If the links to proof images were generated successfully.
        .then(function (result) {
            // Get the links from the promise properties.
            proofImageUrls = result.proofImageUrls;
        })
        // If there was an error thrown while getting links to proof images.
        .catch(function (error) {
            console.error("Getting proof images failed with exception: ", error);
        });
    ```

#### Parameters

    - #####  Optional options: object 
  
        The maximum width and height of proof images, in pixels. For example, if the maximum width and height are both set to `640` pixels, then a `1280 x 960` px image will be resized to `640 x 480` px. When using [mockups](https://customerscanvas.com/docs/cc4/mockups.htm.md), specify the size of proof images more than or equal to the preview mockup size to avoid loss of the image quality.

        - #####  Optional maxHeight:  number 
  
            The maximum height of proof images. This value is `500` by default.
        - #####  Optional maxWidth:  number 
  
            The maximum width of proof images. This value is `500` by default.

#### Returns Promise &lt; IProofResult &gt;
 
    Returns an array of temporary links to proof images.
