> For the complete documentation index, see [llms.txt](https://docs.norrnext.com/quantum-manager/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.norrnext.com/quantum-manager/best-practices/image-processing-during-the-upload.md).

# Image processing during the upload

It often happens the situation when a user uploads photos directly from the camera. Such images have a big size and significantly slow down site performance.

<figure><img src="https://norrnext.com/images/docs/quantum-manager/images-resizing.png" alt="Enable images auto resizing - Quantum Manager"><figcaption><p>Enable images auto resizing</p></figcaption></figure>

**Automatically image resizing** - after enabling this param the image will be resized according to the width and height which you need to set up in settings.

But keep in mind that uploading big files and processing them require more resources. Therefore allocate more memory for scripts executing in .htaccess file and also specify a maximum upload file size.

### How to configure?

For Apache server you can apply the following rules to `.htaccess` file:

```
php_value memory_limit 256M
php_value upload_max_filesize 50M
php_value post_max_size 50M
```

You can change these limits personally according to your requirements and server resource.

Additional tutorial: [How to check PHP memory limit for Joomla](https://docs.norrnext.com/joomla-common-issues/how-to-check-php-memory-limit-for-joomla)


---

# 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.norrnext.com/quantum-manager/best-practices/image-processing-during-the-upload.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.
