Gallery.Image.FirstThumbLarge.Height

Version: - integer  

Summary

Returns the height in pixels of the detail image for the first image listed on the page.

Settings

The value is generated automatically.

Examples

Outputting the template tag

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

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if integer has a value

<!--@If Defined(@Gallery.Image.FirstThumbLarge.Height)--> Let's output this tag here: <strong><!--@Gallery.Image.FirstThumbLarge.Height--></strong> <!--@EndIf(@Gallery.Image.FirstThumbLarge.Height)-->