> For the complete documentation index, see [llms.txt](https://docs.opusbooster.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opusbooster.com/platform/widgets/gallery-widget.md).

# ギャラリーウィジェット

ギャラリーウィジェットは、画像をグリッドまたはインタラクティブなカルーセルで表示するためのウィジェットです。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2Fq5zpWaxj2gt2KyzknL6h%2Fgallery.PNG?alt=media\&token=8c27c8cd-aaae-4398-8a30-fd157a458929)

### 画像の追加

画像または複数の画像を追加する場合は、画像編集タブを選択します。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2Fw35kdIARIdjpwgHTUxae%2Fgallery%20add%20images.PNG?alt=media\&token=d6f0c261-52c5-4883-a6d3-da205abd0af2)

### スタイルの編集

グリッドとカルーセルの2つのスタイルから選択できます。**グリッド**レイアウトは、追加したすべての画像を静的なフォーマットで表示します。**カルーセル**は、画像に動きをつけたり、ユーザーの手動入力で画像をスクロールさせたりすることができます。

どちらも画像比率サイズからスタイリング要素は同じです。画像をライトボックスで開くと、クリックしたときに画像が拡大され、画像をコンテナのサイズに合わせたい場合に使用します。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FXlEZ8RpKQmdmXVclWW1L%2Fgallery%20stlying.PNG?alt=media\&token=13792c09-4e66-41ef-8496-8939255a5997)

カルーセルを選択した場合、ナビゲーションアローを表示することで、訪問者が手動で画像をスクロールしたり、時間に応じて自動的にスライドを変更することができます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.opusbooster.com/platform/widgets/gallery-widget.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
