Пример: {$image = $object.image} {$thumb = $modx->
Mar 25, 2015
Пример:
{$image = $object.image}
{$thumb = $modx->runSnippet('phpThumbOf', [
"input" => $image,
"options" => "&far=0&w=230&h=140"
])}
<img src="{$thumb}" />
Пример:
{$image = $object.image}
{$thumb = $modx->runSnippet('phpThumbOf', [
"input" => $image,
"options" => "&far=0&w=230&h=140"
])}
<img src="{$thumb}" />