Elgg  Version 2.3
Variables
img.php File Reference

Go to the source code of this file.

Variables

if(!isset($vars['alt'])) $vars ['src'] = elgg_normalize_url($vars['src'])
 Elgg image view. More...
 
 $vars ['src'] = elgg_format_url($vars['src'])
 
 $attributes = elgg_format_attributes($vars)
 

Variable Documentation

◆ $attributes

$attributes = elgg_format_attributes($vars)

Definition at line 16 of file img.php.

◆ $vars [1/2]

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

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 13 of file img.php.

◆ $vars [2/2]

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

Definition at line 14 of file img.php.