9 if (!isset(
$vars[
'alt'])) {
10 elgg_log(
"The view output/img requires that the alternate text be set.",
'NOTICE');
17 echo "<img $attributes/>";
if(!isset($vars['alt'])) $vars['src']
Elgg image view.
elgg echo
Translates a string.
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
elgg_log($message, $level= 'NOTICE')
Display or log a message.
elgg_format_url($url)
Handles formatting of ampersands in urls.