Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

When a document is placed on a node, it is possible to let the node show a preview of the first page of the pdf. The preview will be displayed when nodes are shown as a gallery.

This function is available in version 4.4 and later.

Instructions

Usage is that function must be turned on using below profile.config. Also, on the node which has the document which shall have a preview, mode “InhertitPresentationInfo” must be checked.

The function will create a preview of the first page of the pdf. This preview image will be treated as an image on the document presentation object.

Note that when painting images on nodes, web viewer will first look at the node to see if it has an image and select that image to be shown. If node does not have an image, and mode “InhertitPresentationInfo” is checked, web viewer will look at the presentation (in this case the document) for an image. Now if this function is turned on, the preview will be fetched and displayed.

Version 4.4 and 4.5

Function has two settings in profile.config.

<!-- Turns on preview of pdf -->
<DocumentNodeInheritImageEnabled>true</DocumentNodeInheritImageEnabled>
<!-- If node already has a node image, this setting will force the preview to display 
     instead -->
<ForceDocumentNodeInheritImageEnabled>true</ForceDocumentNodeInheritImageEnabled>

Version 5.0 and later

<!-- If node already has a node image, this setting will force the preview to display 
     instead -->
<ForceDocumentNodeInheritImageEnabled>true</ForceDocumentNodeInheritImageEnabled>

  • No labels