Gallery.Image.Path

Version: - string  

Summary

Returns the path of the original image.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Gallery.Image.Path")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Gallery.Image.Path"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Gallery.Image.Path"); }

Outputting the template tag

<!--@Gallery.Image.Path-->

Check if string has a value

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