|
|
Referenced Files in HTML |
IssueImages referenced in HTML pages inserted in Alchemy Catalyst may not render in Visual View.
ReasonWhen viewing html files in full visual mode, access to any referenced files within the html file is required. This is important for the visual editor as images and .css used in the html file are typically externally referenced files. There are a number of mechanisms for resolving paths to these referenced files.
SolutionReferenced files are searched depending on the reference style (absolute or relative):
Catalyst ReferenceRoot folder location: C:\Users\Public\Alchemy Software\Catalyst x.x\ReferenceRoot Note for point 2, if the referenced directory is present but does not contain the images (or .css), Catalyst will not fall back to the ReferenceRoot folder. You can copy referenced images into the ReferenceRoot folder to achieve a full visual view for html files. Including subdirectories.
Case scenario: A TTK with HTML files has been created and sent for translation to a translator. At run time, Alchemy Catalyst first tries to check the absolute path to try to retrieve the images which should be displayed in Visual View. If the TTK is opened on a different machine the same directory structure does not exist and the images are not found. When the files are not found Alchemy Catalyst will try to find the files relative to this ReferenceRoot folder. So as long as the directory structure exists relative to the ReferenceRoot folder the images will also be displayed in Visual View. Copy the images to this directory maintaining the relative directory structure to allow the graphics to render in the Visual View. If the HTML file referenced an image as <img src="../mypicture.png"> If the HTML file referenced an image as <img src="/Images/mypicture.png">
For Catalyst 10Prior to Catalyst 10, the ReferenceRoot directory is named HtmlRoot
Products or Versions Affected
Last updated with Catalyst 11 |