Overview
You have migrated a Custom Theme or its Palette folder, and notice that Images within the theme, such as the logo, are blank or broken.
Solution
Most commonly, issues with broken theme resources following a Theme migration are the result of the referenced image having been moved to a different folder in error. You can use the steps below to verify and compare the configured resource paths within the database and filesystem to determine the necessary changes.
- Verify that the URL of the Image references
/resources/images/
(ex./resources/images/palette-1010/abc.png
):- Right-click the Broken/Blank Image (or the space it should occupy) and select Inspect.
- Review the src parameter of the <img> tag to confirm the image path:
- Verify the image path is correctly configured in the theme:
- Run the following Query using the image path collected above:
-
SELECT * FROM jivepaletteprop WHERE propvalue LIKE '/resources/images/palette-<paletteid>/<imagename>';
-
- If you receive results from the path query for the same theme, this is correctly configured:
- Run the following Query using the image path collected above:
- Verify that the image exists within
JIVE_HOME/www/resources/images/
on the filesystem:- Navigate to your $JIVE_HOME directory.
- Locate your /www/resources/images/ directory.
- Using the previously collected image path, verify whether the image exists:
After reviewing each of the locations above, you should have a better idea of the cause for the broken image. If the path cited by the theme is invalid, you will need to adjust the location of the image within the filesystem or the configuration within the database to point to the correct location.
If you encounter issues with the investigation or need assistance due to lack of access(ex. Cloud/Hosted Instances), please contact us.
<supportagent>
If a Cloud/Hosted customer reaches out for assistance with the database update process, see Process for Making Database Changes (Update, Delete, Insert) on Cloud and Hosted Instances for guidance on proper handling.
</supportagent>
Comments
0 comments
Article is closed for comments.