The Gallery-Wide Defaults tab of the Gallery Properties dialog appears as follows:
In this section, gallery-wide defaults can be specified for five image-specific settings. These optional values provide default values for all images in the gallery that have no image-specific value set. Defaults are applicable only for images that have no image-specific setting. Gallery-wide defaults can be overridden by setting the value on an individual image -- that is, the defaults will be ignored wherever an image-specific value is set.
When using gallery-wide defaults, it is often helpful to use replacement values. These values provide shortcuts to other image-related properties (such as metadata values). For example, this can be used to integrate metadata into the captions for all images in a gallery. For more information about available shortcut values, reference the image-specific property pages linked in the table below.
Each of the settings are detailed in the following table. Reference the documentation for the corresponding image-specific properties for more information about each setting.
Property | Description |
---|---|
Default Image Link URL | This optional value is the default link for all images in the gallery. It can be overridden on a per-image basis by setting the link on an individual image. The link value represents the page that is opened when an image in the gallery is clicked; to learn more about this setting and the Generate Popup tool, see the image-specific property documentation for the Image Link. |
Default Link Target | The link target represents the window in which image links (links applied to images in the gallery) will be opened. This optional setting is the default value for all images in the gallery. It can be overridden on a per-image basis by setting the link target on an individual image. The default value of _self will open the link in the current window. Using _blank will open the link in a new browser window. Using _parent will open the link in the parent page if using frames. Specifying any other value will control a specific frame in a frameset. It is best to use gallery-wide defaults for situations where you want the same link on every image. It is much faster to set the gallery-wide default than to set the same value on every image, plus updates are much easier. Tip: For control over the appearance and size of the new window, you can use a javascript call in the image link to open a true popup window. For more information, see the documentation on the Image Link in the Editing Image Properties section. |
Default Image Title | This optional value is the default title used for all images in the gallery that have no title specified. To learn more about this property, see the image-specific property documentation. Note that replacement values are very helpful in this field. Using a value here such as {metadata.title} allows for metadata-set titles to be integrated in a gallery. |
Default Image Caption/Description | This optional value is the default caption/description used for all images in the gallery that have no caption/description specified. To learn more about this property, see the image-specific property documentation. Note that replacement values are very helpful in this field. Using a value here such as {metadata.description} allows for metadata-set descriptions to be integrated in a gallery. |
Default Image ToolTip | This optional value is the default tooltip used for all images in the gallery that have no tooltip specified. Tooltips are the text displayed in a small popup when the user hovers over an image. To learn more about this property, see the image-specific property documentation. Note that replacement values are very helpful in this field. This can also be used to provide a standard message when a user hovers over an image. It is much faster to set the gallery-wide default than to set the same value on every image, plus updates are much easier. |
The settings above map to the following XML attributes on each <gallery ... > ... </gallery> node:
Property | Equivalent Gallery Attribute |
---|---|
Default Image Link URL | @defaultLink |
Default Link Target | @linkTarget |
Default Image Title | @defaultTitle |
Default Image Caption/Description | @defaultCaption |
Default Image ToolTip | @defaultToolTip |
Note that the '@' is part of customary syntactical representation, and is not part of each attribute name.
For more detailed XML information, see the Developer Reference.