Get a single collection
collection_single
action allows to display a single ResourceSpace image collection, including collection data (e.g. title).
In this example the snippet output the photo collection with ID 26, with a limit of 12 images, using pThumb inside the xrsImg2 chunk template for image resizing.
[[xrs?
&action=`collection_single`
&id=`25`
&tpl=`xrsCollSingle1`
&tplImg=`xrsImg2`
&includeImg=`12`
]]
The Denki Project - Jishin Series (13)
#18 (Jishin Series).
#16 (JIshin Series)
#37 (Jishin Series)
#02 (Jishin Series)
#03 (Jishin Series)
#23 (Jishin Series)
#14 (Jishin Series)
#19 (Jishin Series)
#01 (Jishin Series)
#05 (Jishin Series)
#15 (Jishin Series)
Using pThumb early
Another example, using pOptions snippet option:
[[xrs?
&action=`collection_single`
&id=`31`
&tpl=`xrsCollSingle1`
&tplImg=`xrsimg1`
&pOptions=`wl=100&hp=100&q=80`
&includeImg=`6`
]]
G-Cans (53)
001-000053.001
001-000053.003
001-000053.166
001-000053.094
001-000053.015
001-000053.024