Info: This plug-in is part of a set of sample plug-ins that is shipped with Assets Server. For more information, see Assets Server sample plug-ins.
Note: The use of internal plug-ins such as sample plug-ins has been deprecated in Assets Server 6.73. These plug-ins should instead be created as an external plug-in.
The print contact sheet takes a selection of images from Assets and opens them in a printable view in your default browser. There are several views available, from one image with a lot of metadata to twelve images on a sheet with only the filename, see the screenshots below.
Note: This sample plug-in is available on Github and is supported for production use
Configuration options
There are variables available to change the metadata displayed in the various views, to make the sample display options easily configurable with some HTML and JavaScript knowledge. Modify the following code in index.html:
/**
* Metadata fields to display
*/
var metadataSetsToDisplay = {
onePerPage: ["filename", "description", "tags", "rating", "title", "subject", "assetCreated", "byline", "creator", "copyright"],
twoPerPage: ["filename", "rating", "title", "assetCreated"],
sixPerPage: ["filename", "rating"],
twelvePerPage: ["filename"]
};
To change the default view from 'two per page', adjust the following
/**
* Default hits on page
* Possible values: 1, 2, 6 or 12
*/
var defaultHitsOnPage = 2;
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.