Elgg  Version master
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

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

Elgg image view.

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

Definition at line 9 of file img.php.

◆ $vars

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

Definition at line 18 of file img.php.