Available Since: V1.0.0

Snippet to display the products main image.

Parameter Description
id The ID of the product to display the image for.
size The size of the product image to show, one of t (tiny), s (small), m (medium), l (large), defaults to s.
linkOnly Optionally set to 1 to output only the link to the image rather than the HTML image tag, defaults to 0.
abs Optionally set to 1 to output an absolute path to the image, defaults to 0.
thumbID Optional ID of a product gallery image to use or set to 0 to get the assigned product thumbnail.