xRS MODX extra

Predefined templates

Logo ResourceSpace Logo Wordpress Logo Prestashop Logo Joomla

Internal template

itpl.rssingle.img

This exemple output a single RS image using the xRS internal chunk itpl.rssingle.img.

If RS format (image size) is not specified, the targeted image is the original image file.

In this exemple the 'thm' format is targeted and pThumb resizing is not used.

[[!xrs?
    &action=`single`
    &rsid=`404`
    &tpl=`itpl.rssingle.img`
    &rssize=`thm`
]]

Result

2019-09-08 10:15:51