Describe the bug
A clear and concise description of what the bug is.
As an administrator, when I create my newsletter and upload images with the WYSWYG editor, I can see my uploaded image in the preview.
However, once my newsletter is sent, users cannot see this image.
To Reproduce
Steps to reproduce the behavior:
- Go to BO
- Click on newsletter
- Create a newsletter
- Upload image in body
- Check preview => you should see the image
- Send the newsletter
- Go to letter-opener
/letter_opener
- See image present in body
⚠️ In development mode, image always will be displayed because src attribute contains a relative path and can be resolved locally
Expected behavior
A clear and concise description of what you expected to happen.
I expect my image to have a src attribute containing the absolute path of my images : https://my.decidim/<relative_path> to be visible directly in my newsletter content
Extra data (please complete the following information):
Additional context
Add any other context about the problem here. For instance, add Metadecidim link.
Image file uploader works well for usage inside the application. However image are unreachable from external resources (newsletter and maybe others ?)
Suggestion
Fix editor_images_controller to return the full path.
Or we can find a way to return the full path when resource is accessible from outside and keep the initial behaviour which is to return relative path of uploaded image
Screenshot

Describe the bug
A clear and concise description of what the bug is.
As an administrator, when I create my newsletter and upload images with the WYSWYG editor, I can see my uploaded image in the preview.
However, once my newsletter is sent, users cannot see this image.
To Reproduce
Steps to reproduce the behavior:
/letter_openersrcattribute contains a relative path and can be resolved locallyExpected behavior
A clear and concise description of what you expected to happen.
I expect my image to have a
srcattribute containing the absolute path of my images :https://my.decidim/<relative_path>to be visible directly in my newsletter contentExtra data (please complete the following information):
Additional context
Add any other context about the problem here. For instance, add Metadecidim link.
Image file uploader works well for usage inside the application. However image are unreachable from external resources (newsletter and maybe others ?)
Suggestion
Fix editor_images_controller to return the full path.
Or we can find a way to return the full path when resource is accessible from outside and keep the initial behaviour which is to return relative path of uploaded image
Screenshot
