This topic dwells on the Customer's Canvas image Gallery. The Gallery provides access to all images available to a user. In the topic we will discuss how to open the Gallery, its interface, and how to configure it.
When a user adds a new image to a product or replaces a previously added image, the Gallery is displayed. Right-click an image in the design or an image layer to see the Item menu:
Click Select image to see the Gallery.
There are other ways to open the Gallery. Simply double-click an image, and in advanced editing mode the Gallery is displayed when a user adds a new image to a design. The editing modes are discussed in the Simple and Advanced Web-to-print Editor Modes topic.
The Gallery interface is as on the screenshot:
The Gallery provides access to all images available to a user. On the screenshot above, there are four tabs, each of them corresponds to an image source:
On the screenshot, the Public files tab is selected. The images there are divided by categories, and each category has the same name as the corresponding subfolder in the public images folder. The number of files in a category is displayed in parentheses after the category name. Also, there are two "special" categories, namely, root and all.
The public images folder contains all images, which are available for all users. By default, it is the
~\PublicGalleryFolder\ folder. The path is relative to the site root. This folder usually contains subfolders. Subfolders' names are used to name categories in the Public files tab in the Gallery. Exceptions are "special" categories:
The public images folder and aliases for root and all categories can be set in
web.config as follows:
<appSettings> … <add key="PublicGalleryFolder" value="~/PublicGalleryFolder" /> <add key="RootCategoryName" value="root" /> <add key="AllCategoryName" value="all" /> … </appSettings>