Menu Close

Get Support From ShopWired Close

All systems fully operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Quickest response time
Send A Message
Response within 24 hours

Menu Close

Menu

Gallery, photo and video

The gallery object has the following attributes:

gallery.url

Returns the relative URL of the gallery.


gallery.name

Returns the title/name of the gallery.


gallery.photo_url

Returns the first photo of the gallery.


gallery.photos

Returns the gallery.photos array.


photos

{% for photo in gallery.photos %}
    {{ photo.name }}
    {{ photo.url }}
    {{ photo.target_url }}
{% endfor %}

returns...

Latest Nike Tee & Air Max Trainers
https://d3pxkhl3nt0be7.cloudfront.net/files/5/248392/4/38483/image.jpg
/latest-nike-tee

photo.name

Returns the name of the gallery photo.


photo.url

Returns the URL of the gallery photo image file.


photo.target_url

Returns the relative target URL of the gallery photo.


Videos

video.title

Returns the title of the video.


video.embed_code

Returns the embedding code of the video.