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