> For the complete documentation index, see [llms.txt](https://docs.qore.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qore.dev/faq/how-to-display-image-in-qore-app/gallery-component.md).

# Gallery Component

Dengan component gallery ini kita dapat menampilkan kumpulan gambar yang otomatis berubah-ubah sesuai dengan source data yang kita setup. Biasanya component ini berguna untuk menampilkan promo, event , ataupun highlight informasi lainnya agar ketika user membuka apps dapat langsung melihat informasi tersebut.\
\
Ikuti step step cara menampilkan gambar menggunakan gallery component&#x20;

1\. Setup kumpulan gambar di table Qore.\
Pada step pertama ini kita akan membuat tabel baru yang berisi informasi nama (type: text) dan file (type:file).

![](/files/a1rVSMAztwv7BXl1IbFi)

2\. Setelah berhasil di step 1, selanjutnya kita akan mulai menambahkan component gallery di editor aplikasi. Kita awali dengan mengakses app editor terlebih dahulu, kemudian ikuti simple step berikut

* Go to app builder, dari menu table klik menu apps kemudian pilih salah satu apps yang ingin kita edit.\
  ![](/files/rxc7CdFyq3oBYd9YfXQI)
* Pilih atau tambahkan halaman yang ingin kita tambahkan gambar \
  ![](/files/MNfxAixXtHvFVR4CrdCd)
* Tambahkan component gallery pada category media\
  ![](/files/AcvmqkLC6zx6cM1SXhEC)
* Aktifkan component gallery untuk mulai mengatur data \
  ![](/files/AVfCz0FHlUy728Nt2SnI)

3\. Kemudian kita dapat sesuaikan source table yang berisi data gambar yang ingin kita tampilkan di aplikasi. Source akan berisi list table yang ada.

![](/files/AfnbvuTQegxHHWu6aKL1)

4\. Lalu pilih kolom dari table/view source yang menyimpan informasi gambar dengan mengetikkan @namakolom.

![](/files/pSqPTq9K1Kv0Geno3fZX)

5\. Jika berhasil maka akan muncul gambar di emulator screen sesuai dengan data di table promo yang sebelumnya telah ditambahkan.

![](/files/CKt0i5hsPKCGgOLRnLN0)


---

# 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.qore.dev/faq/how-to-display-image-in-qore-app/gallery-component.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.
