Gallery.Image.Name
Version: - stringSummary
Returns the file name of the image.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Gallery.Image.Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Gallery.Image.Name"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Gallery.Image.Name");
}
Outputting the template tag
<!--@Gallery.Image.Name-->
Check if string has a value
<!--@If Defined(@Gallery.Image.Name)-->
Let's output this tag here: <strong><!--@Gallery.Image.Name--></strong>
<!--@EndIf(@Gallery.Image.Name)-->