Image preview with relative path not displayed
- Dominant language
- JavaScript
- Stars
- 19.4k
- Forks
- 3.1k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
**Describe the bug**
If you use the CMS as a standalone admin panel with its own configuration for a project with multiple domains, the relative link to the image preview cannot find the image.
However, if you go to the media assets section, all the images will be displayed.
**To Reproduce**
Steps to reproduce the behavior. For example:
1. Deploy the CMS on a separate domain
2. Add an image to the CMS media assets
3. Add a collection item with an image
4. See image preview error
**Expected behavior**
Image previews in collection component are displayed in the same way as in media assets
**Applicable Versions:**
- Decap CMS version: 3.11.0
- Git provider: GitLab
- OS: macOS
- Browser version Google Chrome 146.0.7680.165
- Node.JS version: v22.17.1
Contributor guide
Assessment
This issue has not been assessed yet.