Image Editor Does Not Load on Websphere
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
This article documents an issue where the image editor does not load on WebSphere, as well as steps to resolve the issue or avoid it altogether. This issue is caused by one of the JS files served within the JS editor having some characters that are not allowed in the default encodings.
Resolution
Steps to Reproduce
- Navigate to Content > Documents and Media
- Upload an image file
- Click on the vertical ellipsis and select Edit with Image Editor
Expected Result
Image Editor should come up on the iframe and allow the user to edit the image.
Actual Result
Image editor does not load at all.
Solution
Set the encoding to UTF-8.
Note: This issue is not caused by the Liferay product. WebSphere uses different encodings depending on the language. You can find them in $WEBSPHERE_HOME/properties/encoding.properties.
Did this article resolve your issue ?