---
schema_version: "1"
id: 8967db8858649935ad2dc1f76ad6e4963f3a9b979a15a97c95eb3cb344245aba
title: Image Storage Locations in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_demandware_image_storage.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_demandware_image_storage.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ed58f515792ecf4cab6ef147ff769aa8d5aa06e226d6a53feaa8424a3b61fc46
description: B2C Commerce stores images in three static content locations, depending on image type.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Image Storage Locations in B2C Commerce

B2C Commerce stores images in three static content locations, depending on image type.

The static content location depends on the image type:

- Catalog
- Non-catalog
- Content library

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

In B2C Commerce, each catalog has one image location. The location is either:

- **Internal:** Stores the image files with the catalog.
- **External:** Stores the image files on another host.

A new catalog has an internal image location with these default settings:

- Base path: `/`
- View types: large, medium, small, and swatch
- Alt text and title: `${productname}`, which inserts the product name
- No catalog-level variation attribute

Each location has its own directory and replication task. After you assign internal images, replicate the catalog static content: **Replication Tasks > Sites > Catalogs > (_Your Catalog_)**.

An external image is not a file in that directory, so do not replicate image files for an external location.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
        <col>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d114979e111">Image Type</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d114979e114">Examples</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d114979e117">Location</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d114979e120">Subfolder Structure</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d114979e123">Staging/ Replication</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Image Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e111 ">Catalog</td>

          <td data-label="Examples" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e114 ">product, category, option, and recommendation images</td>

          <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e117 ">
            <p>Within the catalog's own static content directory:</p>
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>sites/Sites-Site/(Version Directory(0|1))/units/ (Your Catalog)/static/default/</code></pre>
          </td>

          <td data-label="Subfolder Structure" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e120 ">Arbitrary</td>

          <td data-label="Staging/ Replication" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e123 ">Can be staged using the Replication Task "Replication Tasks &gt; Sites &gt;
            Catalogs &gt; (Your Catalog)".</td>

        </tr>
        <tr class="">
          <td data-label="Image Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e111 ">Non-catalog</td>

          <td data-label="Examples" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e114 ">custom object, slot (type HTML), promotion, and store images</td>

          <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e117 ">
            <p>Within the organization ("Sites") static content directory:</p>
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>sites/Sites-Site/(Version Directory(0|1))/units/Sites/static/default/</code></pre>
          </td>

          <td data-label="Subfolder Structure" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e120 ">Arbitrary</td>

          <td data-label="Staging/ Replication" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e123 ">Can be staged using the Replication Task "Replication Tasks &gt; Sites &gt;
            Static Content".</td>

        </tr>
        <tr class="">
          <td data-label="Image Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e111 ">Content</td>

          <td data-label="Examples" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e114 ">content assets</td>

          <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e117 ">
            <p>located within its own site-specific content library directory:</p>
            <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x"><code>sites/Sites-(Your Site)-Site/(Version Directory (0|1))/units/Sites-(Your Site)-Library/static/default/</code></pre>
          </td>

          <td data-label="Subfolder Structure" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e120 ">Arbitrary</td>

          <td data-label="Staging/ Replication" class="slds-cell-wrap" style="vertical-align:top;" headers="d114979e123 ">Can be staged using the Replication Task "Replication Tasks &gt; (Your
            Site) &gt; Content Library".</td>

        </tr>
      </tbody>
    </table>

See Also

- [Assign Images to Products in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_managing_images.htm&release=264.0.0&type=5 "In B2C Commerce, attach an image to a product so the storefront can show it. Assign images on the base product, and a variation product uses those images.")
- [Image Management in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_image_management.htm&release=264.0.0&type=5 "Before you assign product images in B2C Commerce, learn the terms, limits, and catalog location. Then choose the topic for assigning images, catalog settings, view types, swatches, alt text, storage, or a size, crop, or format.")
- [Dynamic Imaging Service](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-dynamic-imaging-service.html)