xRS MODX extra

Get a specific ResourceSpace media

Logo ResourceSpace Logo Wordpress Logo Prestashop Logo Joomla

Display a specific ResourceSpace image

The 'Single' action allow to display a single ResourceSpace resource and with its metadatas.

It use and extend the get_resource_path API including extra data and image path for a specified RS format (the RS API doesn't return image path).

The 'extend' option is enabled by default.

Snippet options

[[!xrs?
    &action=`single`
    &rsid=`239`
    &tpl=`debug`
]]
Option Values Default / Notes
action single
extend 0|1 1
rsid numeric id of ResourceSpace image (ref)
tpl debug
none
itpl.rssingle.img
itpl.rssingle.src
custom chunk

option
Option available with xRS Plus only.

(1) xRS Plus only.

Examples

Chunk template

No-template (to placeholders)

xRS Single resizing

xRS Internal tempates

xRS single debug mode

Templating

You can specify your custom chunks to customize image items.

All available placeholders can be displayed by activating the debug mode.