> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://staging.chrisp.chat/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Uploading images in frontend does not work

If you are getting an error message, when you try upload an image via the Upload module in the product designer, this could have several reasons.

## PHP Server Error

Your server throws an error and the upload is canceled. Please look into your PHP error log and check for any error. The log file will help you and tell you what was the problem. For any missing PHP function or any other server-related problems, please contact your provider, our support team can not assist with server configuration.

## Firewall  (WordFence, Sucuri)

Many firewalls like WordFence or Sucuri are blocking the request to this file:

```
/wp-admin/admin-ajax.php?action=fpd_custom_uplod_file
```

This file handles the image upload and needs to be whitelisted in your Firewall settings.

* [Whitelist file in WordFence](https://www.wordfence.com/help/firewall/options/#whitelist)
* [Whitelist file in Sucuri](https://docs.sucuri.net/website-firewall/whitelist-and-blacklist/whitelisting-a-file-folder/)