7.5. Gallery
Gallery is a special type of resource that allows to create an overview or a navigation page for the resources of your Web GIS and external links. You can use the gallery as the main page of your Web GIS instead of the standard resource list.
Pic. 7.34. Gallery
Navigate to the resource group (folder) in which to create a gallery. Click Create resource button and select Gallery.
Pic. 7.35. Selecting “Gallery” resource type
On the first tab you can enter a custom name for your gallery. It will be displayed in the resource list.
On the second tab add the gallery items by clicking the + buttons. Available items:
Resource;
Link;
Group - resources and links can be organized in groups within the gallery.
Drag to change the order of the items. To add an item to a group, drag it onto the group title.
After adding some items you can click Create and view the gallery.
You can customize the general look of the gallery and its items.
7.5.1. Gallery items
After adding an item click on it to view the properties panel on the right. Each type of item has specific settings.
7.5.1.1. Resource
Title: displayed on the item card (does not have to be the same as the resource name);
Resource: name of the resource and link to its page;
Action: what happens when you click on the item in the gallery. Variable options – depend on resource type:
Go to resource - for all types;
Update resource - for all types;
Display resource - for Web Maps and resource galleries.
Cover: image used as background on the item card instead of the standard resource type icon. Max 5.0 MiB. Recommended ratio: 3:2 for grid, 5:4 for list.
Description displayed when hovering over the item or to the right of the cover in the list. Formatting is supported.
Pic. 7.36. Settings for Web Map in the gallery
7.5.1.2. Link
Title;
Link: by default, the link to the Web GIS itself is used, but you can change it to any other URL;
Cover;
Description.
Pic. 7.37. Settings for link item in the gallery
7.5.1.3. Group
Title;
Description;
Layout:
Grid
List
Rows
Columns
Masonry
If you don’t set a layout here, the default layout selected on the Settings tab is applied. Initially it’s grid.
Pic. 7.38. Layout: grid
Pic. 7.39. Layout: list
Pic. 7.40. Layout: rows
Pic. 7.41. Layout: columns
Pic. 7.42. Layout: masonry
7.5.2. Gallery settings
Pic. 7.43. Gallery settings
On the Settings tab you can set up:
Default layout, it is applied to all the groups that do not have a different layout set on the Gallery tab;
Display or hide Web GIS header.
You can also add description and metadata on the corresponding tabs. Gallery description is displayed both on the resource page and in the gallery itself, below its title.
Pic. 7.44. Gallery description