Version: 8.6.1 string  


Returns a large image for the current product.


The value is based on the Large image input field under the Media tab for a product.

(Ecommerce > Product Catalog > Product group/product > Media tab > Media panel)


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

The tags is removed or not used if Improved image patterns feature is enabled.


Outputting the template tag


Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product.ImageLarge"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Product.ImageLarge"); }

Outputting the template tag


Check if string has a value

<!--@If Defined(@Ecom:Product.ImageLarge)--> Let's output this tag here: <strong><!--@Ecom:Product.ImageLarge--></strong> <!--@EndIf(@Ecom:Product.ImageLarge)-->