Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 852 Bytes
<?php
/**
* @package Radical MultiField
*
* @author delo-design.ru <info@delo-design.ru>
* @copyright Copyright (C) 2018 "Delo Design". All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @link https://delo-design.ru
*/
defined('_JEXEC') or die;
if (!$field->value)
{
return;
}
$values = json_decode($field->value, JSON_OBJECT_AS_ARRAY);
$listtype = $this->getListTypeFromField($field);
?>
<div class="uk-child-width-1-5@m" uk-grid uk-height-match="img" uk-lightbox="animation: slide">
<?php foreach ($values as $key => $row): ?>
<div>
<a class="uk-inline" href="<?= $row['image'] ?>" data-caption="<?= $row['alt'] ?>">
<img src="<?= $row['image']?>" alt="<?= $row['alt'] ?>"/>
</a>
</div>
<?php endforeach; ?>
</div>