Gallery.Image.Height

Version: - integer  

Summary

Returns the height of the image.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Gallery.Image.Height")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Gallery.Image.Height"))) {
@* Tag has value, so let's do something useful here. *@
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Assign tag to a value for later use

@{
int storedTag = GetInteger("Gallery.Image.Height");
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Outputting the template tag

<!--@Gallery.Image.Height-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if integer has a value

<!--@If Defined(@Gallery.Image.Height)-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX