> For the complete documentation index, see [llms.txt](https://help.pagefly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pagefly.io/page-structure-and-elements/optimization/how-to-optimize-images-with-tinyimg-in-the-pagefly-editor.md).

# How to Optimize Images with TinyIMG in the PageFly editor?

### About TinyIMG

TinyIMG is a powerful tool that optimizes images to improve your store’s page speed by reducing file sizes without losing quality. Faster-loading pages provide a better experience for your customers and boost SEO rankings. However, unlike other third-party apps that add elements directly into the PageFly editor, TinyIMG works differently. You’ll need to access and use it separately to [optimize the images on your PageFly pages](https://help.pagefly.io/manual/how-to-optimize-images-with-tinyimg-in-the-pagefly-editor/).

### How to Access The TinyIMG Feature In PageFly

To optimize images in PageFly, ensure you have installed both [TinyIMG](https://tiny-img.com/?ref%3Dpagefly_integration) and [PageFly](https://apps.shopify.com/pagefly?utm_source%3Dmanual%26utm_medium%3Darticle%26utm_campaign%3Dapp-listing/) app on your Shopify store.

### How to Use TinyIMG To Optimize Images On PageFly

{% hint style="warning" %}
**Important Note**:

* This optimization feature only applies to images uploaded on PageFly pages (Image element and background image); it does not apply to Product images or Collection images.
* Each image can be optimized only once using TinyIMG.
  {% endhint %}

#### Optimize Image Individually

After uploading your image in the PageFly editor, go to the **General** tab.

There, you’ll find the **Optimize** feature. Simply click it, and the image will be optimized automatically.

![](/files/XVUvb9qJCPwh27rMpZJn)

#### Optimize All Images On The Page

* Open the **Media Manager** in PageFly.
* Click the Speed icon to start bulk optimization.
* All images on the page will be optimized in one go.
* There is no limit to the number of images that can be optimized on PageFly (it depends on the plan you have chosen on the TinyIMG app).

![](/files/7RggznA91roovDt8xyeD) After that, you can access **Extra Function > Media Files** to check the optimized image size.

![](/files/zbF8ZGsZSKJJV6eiQuef)

### Common Case

If the image has been optimized or not, it will have a blue dot beside the image size like this.

![](/files/wSjv0R3Hx0km5TT9FV49)

### Frequently Asked Questions

**1. How does TinyIMG work with PageFly?**

TinyIMG integrates with PageFly to optimize images directly.

**2. Will a new image be generated after optimization?**

Yes, the optimization process will generate a new, optimized version of the image.


---

# 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://help.pagefly.io/page-structure-and-elements/optimization/how-to-optimize-images-with-tinyimg-in-the-pagefly-editor.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.
