<?php
/**
 * ------------------------------------------------------------------------
 * JA Property Template
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2018 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
 */


defined('_JEXEC') or die;
use Joomla\Registry\Registry;
use Joomla\CMS\Layout\LayoutHelper;

$attribs = new Registry ($displayData->attribs);
$content_type = $attribs->get('ctm_content_type', 'article');
?>

<?php echo LayoutHelper::render('joomla.content.image.' . $content_type, $displayData); ?>
