Gallery.Image.ColorSpace
Version: - stringSummary
Returns the colorspace of the image.
Settings
The value is generated automatically.
Remarks
Using this tag will result in slower performance if using large original images (i.e. over 2000 px in width or 1 mb in size).
Examples
Outputting the template tag
@GetString("Gallery.Image.ColorSpace")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Gallery.Image.ColorSpace"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Gallery.Image.ColorSpace");
}
Outputting the template tag
<!--@Gallery.Image.ColorSpace-->
Check if string has a value
<!--@If Defined(@Gallery.Image.ColorSpace)-->
Let's output this tag here: <strong><!--@Gallery.Image.ColorSpace--></strong>
<!--@EndIf(@Gallery.Image.ColorSpace)-->