---
layout: default
title: image
nav:
group: Liquid Variables
---
# image
The image object has the following attributes:
{% table_of_contents %}
{% anchor_link "image.alt", "image-alt" %}
Returns the alt tag of the image, set in the Products page of the Admin.
{% anchor_link "image.id", "image-id" %} Returns the id of the image. {% anchor_link "image.product_id", "image-product_id" %} Returns the id of the image's product. {% anchor_link "image.position", "image-position" %} Returns the position of the image, starting at 1. This is the same as outputting forloop.index. {% anchor_link "image.src", "image-src" %} Returns the relative path of the product image. This is the same as outputting{{ image }}.
Input
Output
product_img_url filter.
Input
Output