Gallery.Image.First.Height

Version: - integer  

Summary

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

Settings

The value is generated automatically.

Examples

Outputting the template tag

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

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if integer has a value

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