# 11. __Troubleshooting__

[![+Professional Support](https://www.totaljs.com/img/badge-support.svg)](https://www.totaljs.com/support/) [![+Chat with contributors](https://www.totaljs.com/img/badge-chat.svg)](https://messenger.totaljs.com)

- [Images are not resized, why?](#)
- [How can I solve slow picture resizing?](#)
- [Why I can't login with right credentials?](#)
- [Why I can't upload larger file than 3 MB?](#)
- [How can I modify sitemap.xml genrating?](#)

---

#### Images are not resized, why?

The problem can be in missing __GraphicsMagick__ library. You need to install [GraphicsMagick](http://www.graphicsmagick.org/) (default) or [ImageMagick](https://www.imagemagick.org/script/index.php), both libraries are multiplatform.

#### How can I solve slow picture resizing?

I had same problem on macOS with GraphicsMagick. Try to switch __GraphicsMagick__ to __ImageMagick__ in app `/config` file:

```html
default-image-converter   : im
```

Then don't forgot to __restart app__.

#### Why I can't login with right credentials?

CMS has a small protection for testing credentials. If some user performs more than 5 attempts to login then the system blocks IP for __15 minutes__. So maybe is your IP blocked.

#### Why I can't upload larger file than 3 MB?

Uploading files is limited according to rules below and you can extend this size in: `/controllers/admin.js` file.

- uploading in File Browser or Drag & Drop in CMS editor: __3 MB__ (multipart)
- cropped pictures in CMS editor have limit: __2 MB__ (base64)

#### How can I modify sitemap.xml genrating?

Just create a new definition file with the operation below. If the sitemap is generating then the operation `sitemap.xml` will be executed and the sitemap will be wait for end of operation.

```javascript
NEWOPERATION('sitemap.xml', function($) {
	$.model.push('<url>.....</url>');
	$.model.push('<url>.....</url>');
	$.model.push('<url>.....</url>');
	$.callback();
});
```