# Hình ảnh

Để thêm hình ảnh vào landing page, bạn làm như clip hướng dẫn:

{% embed url="<https://www.youtube.com/watch?v=-NSuHlv3miI>" %}

{% hint style="info" %}
Lưu ý:

* Bạn nên tạo tag và upload ảnh theo tag để quản lý ảnh dễ dàng hơn.
* Khi upload, bạn giữ nút Ctrl để tải lên nhiều ảnh cùng lúc.
  {% endhint %}

## Alt ảnh và kiểu hiển thị

Alt ảnh là chú thích ảnh, dùng cho SEO

Kiểu hiển thị ảnh:

* Default (contain): Ảnh giữ đúng tỉ lệ và phóng to/thu nhỏ lại cho vừa với bên trong box.
* Cover: Ảnh giữ đúng tỉ lệ và lấp đầy toàn bộ box. Các phần thừa của ảnh sẽ được cắt đi và không hiển thị.
* Fill: Ảnh sẽ thay đổi tỉ lệ và lấp đầy toàn bộ box (kiểu hiển thị này thường gây "méo ảnh").

![](/files/LLGdZA7arIheR4I1Yomn)

## Thay đổi kích thước ảnh

![](/files/dsh72FE3nbk6wLQyBdI9)

## Viền và bo góc ảnh

Tạo viền ảnh:

![](/files/fVxqk3KVrIDCbNFyRAvq)

Bo góc ảnh:

![](/files/1SWBixcHR7dbzt01jwnt)

## Đổ bóng cho ảnh

![](/files/69UGM6WK6C7THPDnxPXZ)

## Overlay ảnh

![](/files/ofB0O0fHyJs5DxzLUg9c)


---

# Agent Instructions: 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:

```
GET https://manual.1landing.vn/cac-phan-tu-co-ban-cua-landing-page/hinh-anh.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
