Item.Image.FocalPointParameters

Version: 9.6.0 string  

Summary

Returns "&x=12&y=-12"

Settings

The value relays to item type fiels type of  File used in content where Image - system name.

Remarks

Depends on 'Enable focal point selector for images' option in definition of item type fiels.

Examples

Outputting the template tag

@GetString("Item.Image.FocalPointParameters")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Item.Image.FocalPointParameters"); }

Outputting the template tag

<!--@Item.Image.FocalPointParameters-->

Check if string has a value

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