aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/img.php
blob: d3f596801f4eb00d9210a593b55597765c75a009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * Elgg image view
 *
 * @uses string $vars['src'] The image src url.
 */

$vars['src'] = elgg_normalize_url($vars['src']);
$vars['src'] = elgg_format_url($vars['src']);

$attributes = elgg_format_attributes($vars);
echo "<img $attributes/>";