Gallery.Image.Thumb.Medium

Version: - string  

Summary

Returns the thumbnail image.

Settings

The value is generated automatically.

Remarks

The value is returned as a HTML code snippet containing an <img> tag.

The size of the image is defined in the paragraph module settings in the Thumbnail section.

Examples

Outputting the template tag

@GetString("Gallery.Image.Thumb.Medium")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Gallery.Image.Thumb.Medium-->

Check if string has a value

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