Docs:
Entry Gallery Images
To display all images for a particular entry we need to use the {exp:entry_gallery:images} tag
Parameters
entry_id=”“
entry_id=”{entry_id}”
Most of the time you will use the {exp:entry_gallery:images} tag inside of the {exp:weblog:entries} tag so you can pass the entry_id very easily.
url_title=”“
url_title=”{segment_3}”
The tags always need to know which entry you want to fetch if you want to use it outside of the {exp:weblog:entries} tag. (It is recommended to use it in conjunction with the weblog=”” parameter)
weblog=”“
weblog=“some_blog”
This tag allows you to limit the url_title parameter to a weblog.
You need to at least use one of the two parameters to tell the tag which entry it must use. If none provided the tag will return nothing.
limit=”“
limit=“3”
This parameter allows you to limit the results returned by the tag.
offset=”“
offset=“2”
This parameter offsets the display by X number of entries.
cover_image_only=”“
cover_image_only=“yes”
This parameter will instruct the tag to only return the cover image of the entry.
skip_cover_image=”“
skip_cover_image=“yes”
This parameters allows you to exclude the “cover image” from the returned results
image_id=”“
image_id=“669”
This parameters allows you to fetch a specific image using it’s image_id.
Conditionals
if no_entry_gallery_images
[if no_entry_gallery_images] No images added [/if] (Replace brackets with curly brackets.)
This conditional works like the “if no_results” conditional. If no images are added the content of this conditional is displayed.
Variables
eg:title
{eg:title}
The title of the image.
eg:description
{eg:description}
The description of the image
eg:image_id
{eg:image_id}
The id of the image
eg:count
{eg:count}
The current image count number.
eg:original_url
{eg:original_url}
This variable is used for the URL of the original uploaded image.
eg:original_height
{eg:original_height}
The height of the original image (in pixels)
eg:original_width
{eg:original_width}
The width of the original image (in pixels)
eg:large_url
{eg:large_url}
This variable is used for the URL of the large sized image.
eg:large_height
{eg:large_height}
The height of the original image (in pixels)
eg:large_width
{eg:large_width}
The width of the large sized image (in pixels)
eg:medium_url
{eg:medium_url}
This variable is used for the URL of the medium sized image.
eg:medium_height
{eg:medium_height}
The height of the medium sized image (in pixels)
eg:medium_width
{eg:medium_width}
The width of the medium sized image (in pixels)
eg:thumb_url
{eg:thumb_url}
This variable is used for the URL of the thumbnail sized image.
eg:thumb_height
{eg:thumb_height}
The height of the thumbnail sized image (in pixels)
eg:thumb_width
{eg:thumb_width}
The width of the thumbnail sized image (in pixels)