I want to make a template for mod_tz_portfolio_plus_articles and for image section :
<img src="/<?php echo substr($item->media->image->url,0,-4)."_".$params->get('mt_image_size') ?>" alt="<?php echo $item->media->image->caption ?>">
It's working good but it's a little ugly script! also somewhere found:
$item->event->onContentDisplayMediaType
And output is empty! is there a better way to do that?
with best.