Configure View to Embed Images
By default, the View service converts any images to links when it converts a document to HTML. When your browser displays the HTML document, it retrieves the image by accessing the link in a subsequent request. Alternatively, you can configure the View service to embed each image as base64-encoded data in the HTML output.
Embedding the images in this way means that View must process only a single action for the entire document, rather than processing the subsequent requests for images. This process means that you can use a load balancer to process View
requests, without having to ensure that the image requests go to the correct View component.
-
Open the IDOL View component configuration file in a text editor.
-
In the
[Viewing]
section, set EmbedImages toTrue
. For example:EmbedImages=True
-
Save and close the configuration file.
-
Restart the IDOL View component for your changes to take effect.
You can override the EmbedImages configuration parameter for an individual View action by using the EmbedImages action parameter. This action parameter uses the configuration setting as its default value.