Gallery.Image.Metadata.link
Version: - stringSummary
Returns the meta tag link for the image.
Settings
The value is based on the Link label input field in the Meta tag window for the selected image in the File Manager.
(File Manager - File - Meta tags - Link label)
Remarks
Notice that this value is not meta data used for search engines.
Examples
Outputting the template tag
@GetString("Gallery.Image.Metadata.link")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Gallery.Image.Metadata.link"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Gallery.Image.Metadata.link");
}
Outputting the template tag
<!--@Gallery.Image.Metadata.link-->
Check if string has a value
<!--@If Defined(@Gallery.Image.Metadata.link)-->
Let's output this tag here: <strong><!--@Gallery.Image.Metadata.link--></strong>
<!--@EndIf(@Gallery.Image.Metadata.link)-->