# Tips Compress File Image

Saat Anda ingin melakukan upload foto produk, image logo, image blog atau image lainnya kedalam website, disarankan agar mengkompres terlebih dahulu semua file foto tersebut agar ukurannya tidak terlalu besar.&#x20;

Anda harus mengkompress file terlebih dahulu karena:&#x20;

-Agar file yang diupload tidak terlalu besar sehingga lebih bisa menghemat space disk server&#x20;

-Agar website ketika diakses loadingnya tidak terlalu berat dikarenakan size foto produknya terlalu besar.&#x20;

-Website yang terlalu berat saat diload juga akan berpengaruh pada SEO website Anda.&#x20;

Untuk mengkompress file foto, Anda dapat menggunakan Aplikasi Website Online yang terkenal yaitu TINYPNG. Langkah menggunakannya sebagai berikut:

Akses website tersebut ke [TinyPng](https://tinypng.com/). Selanjutnya Anda tinggal mengupload dan mengkompress foto yang Anda inginkan. Ukuran foto Anda akan menyusut dengan drastis tanpa mengurangi kualitas yang akan ditampilkan di layar monitor.&#x20;

\*\*Tips lain: Jika Anda menggunakan Photoshop saat mengkompres atau mengedit foto, maka tips agar ukuran file yang tersimpan menjadi lebih kecil adalah dengan memilih penyimpanan untuk save for web.


---

# 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://docs.oceanesia.com/tutorial-1/informasi-tambahan/tips-compress-file-image.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.
