Elgg  Version 3.0
Variables
img.php File Reference

Go to the source code of this file.

Variables

 $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.