1. Home
  2. Docs
  3. Liquid
  4. Listings
  5. Images

Images

Main Image ID

Returns the ID of the main listing image.

{{ property.main_image_id }}
23134989

Main Image URL

Returns the URL of the main listing image, sized to 200.

{{ property.main_image }}
https://cdn.idashboard.com.au/media/photos/23134989/200.jpg

Main Image URL, Custom Sized

Returns the URL of the main listing image, sized to a custom value up to 2,000.

{{ property.main_image | sized_url: 700 }}
https://cdn.idashboard.com.au/media/photos/23134989/700.jpg

Main Image URL, Original Size

Returns the URL of the main listing image, in it’s original uploaded size.

{{ property.main_image | replace: "200.jpg", "original.jpg" }}
https://cdn.idashboard.com.au/media/photos/23134989/original.jpg

Specific Image URL

Returns the URL of a specific listing image, sized to 200. The image array starts at [0], so [4] would give you the 5th image.

{{ property.all_images[4].url }}
https://cdn.idashboard.com.au/media/photos/23134996/200.jpg

Specific Image URL, Custom Sized

Returns the URL of a specific listing image, sized to a custom value up to 2,000. The image array starts at [0], so [4] would give you the 5th image.

{{ property.all_images[4] | sized_url: 1000 }}
https://cdn.idashboard.com.au/media/photos/23134996/1000.jpg

Specific Image URL, Original Size

Returns the URL of a specific listing image, in it’s original uploaded size. The image array starts at [0], so [4] would give you the 5th image.

{{ property.all_images[4].url | replace: "200.jpg", "original.jpg" }}
https://cdn.idashboard.com.au/media/photos/23134996/200.jpg

All Image URL’s, Custom Sized

Returns the URL of each listing image, sized to a custom value up to 2,000.

{% for image in property.all_images %}
  {{ image | sized_url: 600 }}
{% endfor %}
https://cdn.idashboard.com.au/media/photos/23134989/600.jpg
https://cdn.idashboard.com.au/media/photos/23134990/600.jpg
https://cdn.idashboard.com.au/media/photos/23134992/600.jpg
https://cdn.idashboard.com.au/media/photos/23134994/600.jpg
https://cdn.idashboard.com.au/media/photos/23134996/600.jpg
https://cdn.idashboard.com.au/media/photos/23134997/600.jpg
https://cdn.idashboard.com.au/media/photos/23134998/600.jpg
https://cdn.idashboard.com.au/media/photos/23134999/600.jpg
https://cdn.idashboard.com.au/media/photos/23135000/600.jpg
https://cdn.idashboard.com.au/media/photos/23135001/600.jpg

First X Image URL’s, Custom Sized

Returns the URL of the first X listing images, sized to a custom value up to 2,000.

{% for image in property.all_images limit:4 %}
  {{ image | sized_url: 400 }}
{% endfor %}
https://cdn.idashboard.com.au/media/photos/23134989/400.jpg
https://cdn.idashboard.com.au/media/photos/23134990/400.jpg
https://cdn.idashboard.com.au/media/photos/23134992/400.jpg
https://cdn.idashboard.com.au/media/photos/23134994/400.jpg