Elgg  Version master
img.php File Reference

Go to the source code of this file.


 $src = elgg_extract('src', $vars)
 Elgg image view. More...
if(empty($src)) if(!isset($vars['alt'])) $vars ['src'] = elgg_normalize_url($src)

Variable Documentation

$src = elgg_extract('src', $vars)

Elgg image view.

string $vars['src'] The image src url (required). string $vars['alt'] The alternate text for the image (required).

Definition at line 9 of file img.php.

if (empty($src)) if (!isset($vars['alt'])) $vars['src'] = elgg_normalize_url($src)

Definition at line 18 of file img.php.