The height and width are now included in the user's image.
<?php // $Id$
+
///////////////////////////////////////////////////////////////////////////
// //
// NOTICE OF COPYRIGHT //
* - datalib.php - functions that access the database.
* - moodlelib.php - general-purpose Moodle functions.
* @author Martin Dougiamas
+<<<<<<< weblib.php
+ * @version $Id$
+=======
* @version $Id$
+>>>>>>> 1.970.2.107
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package moodlecore
*/
}
}
- $output .= '<img class="'.$class.'" src="'.$src.'" alt="'.s($imagealt).'" />';
+ $output .= "<img class=\"$class\" src=\"$src\" height=\"$size\" width=\"$size\" alt=\"".s($imagealt).'" />';
if ($link) {
$output .= '</a>';
}