CoreFiles by mySites.guru
media.php37 lines, 627 bytes, from Joomla_3.7.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 3.6.0-alpha
md5
c9ce31ab2cbc74578032ac4d5d0124de
sha1
88d8271feed929dd6d03d0a0a82f2d43cb7c3f9d
sha256
52b1c9aa54806cb3f8cd1381b0db19ace616651f13aad328b79eb862157b0681
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_fields
 * 
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;

if (!key_exists('field', $displayData))
{
	return;
}

$field = $displayData['field'];
$value = $field->value;

if ($value == '')
{
	return;
}

$value  = (array) $value;
$buffer = '';

foreach ($value as $path)
{
	if (!$path)
	{
		continue;
	}

	$buffer .= '<img src="' . $path . '" class="' . $field->fieldparams->get('image_class') . '"/>';
}

echo $buffer;

No other release has this exact content. See every version of this file.