grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026value == '') { return; } $class = $fieldParams->get('image_class'); if ($class) { $class = ' class="' . htmlentities($class, ENT_COMPAT, 'UTF-8', true) . '"'; } $value = (array) $field->value; $buffer = ''; foreach ($value as $path) { if (!$path) { continue; } $buffer .= sprintf('', htmlentities($path, ENT_COMPAT, 'UTF-8', true), $class ); } echo $buffer;