---
title: "背景画像の使用を可能にする"
slug: "enable-the-use-of-background-images"
abstract: "エクスペリエンスエディターで背景画像機能を有効にするために背景画像ベーステンプレートを追加してください。"
---
# 背景画像の使用を可能にする

ページのデザインをさらに強化するために、データソースを使うレンダリングに背景画像を追加できます。背景画像を追加する前に、レンダリングのデータソースに *\_Background画像* テンプレートを追加する必要があります。

> !注エクスペリエンスエディターでコンポーネントに背景画像を追加する方法については、「 [Add a background image to a component](https://doc.sitecore.com/xp/en/users/sxa/103/sitecore-experience-accelerator/add-a-background-image-to-a-component.html)」をご覧ください。

背景画像の使用を可能にするために:

1.  コンテンツエディターでレンダリングデータソース(*Templates/Feature/Headless Experience Accelerator*)に移動します。
    
2.  **データ**セクションに、*\_Background画像*テンプレート(*Templates/Foundation/Experience Accelerator/Presentation*)を追加します。
    
    ![Add the background image template to the rendering.](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/sxa/104/sitecore-experience-accelerator/images/SXA-background-image-template.png)
    
3.  エクスペリエンスエディターでレンダリングを追加すると、ツールバーに **「背景画像を割り当て** る」ボタンが表示されるのがわかります。アイコンをクリックして画像を選択してください。
    
    ![Assign background image option available in the Experience Editor.](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/sxa/104/sitecore-experience-accelerator/images/SXA-background-image-assign.png)