# Troubleshooting

If you're encountering an issue with Ansel take these steps before submitting a support ticket.

## Check the Developer logs

Ansel 3 does a bit more logging of potential error messages than previous versions of Ansel. If you're encountering an issue hopefully it is getting logged. Please share the log messages when reporting an issue if they are available.

### Missing rendered images

If an image is not rendering (it is returning a 404) but it has a URL there are a couple things you can check. In your're using the `:resize` modifier in your Ansel tags the  Ansel Saves folder should contain an `_ansel_image_cache` folder. If there is not then the Saves folder may not be writable or someone or something deleted the `_ansel_image_cache` folder. If the `_ansel_image_cache` folder exists but you do not see the resized image in that folder then you should check the `user/cache/ansel_persistent` directory. In an effort to reduce overhead and unnecessary image generation Ansel creates a simple text cache file in the `user/cache/ansel_persistent` directory that correlates to the usage of an Ansel field or module tag. Delete all the contents of the persistent directory, then try reloading the page containing your Ansel tags. If this was the issue you were experiencing then your resized images should be regenerated and display as expected.

### Using in Channel Form

Ansel does not currently work in `channel:form` tags. As far as we can tell this is not an an issue with the new 3.0 version. The old 2.3.4 version also does not work in `channel:form` tags in ExpressionEngine 7.5.x. It appears something has changed in ExpressionEngine that affects Ansel's usage in `channel:form` tags but we have not found a fix.


---

# 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.boldminded.com/ansel/docs/troubleshooting.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.
