mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Removed fixed width and height from imgage tag.
This commit is contained in:
@@ -3177,8 +3177,8 @@ class e_parser
|
|||||||
|
|
||||||
$title = (ADMIN) ? $image : $tp->toAttribute($userData['user_name']);
|
$title = (ADMIN) ? $image : $tp->toAttribute($userData['user_name']);
|
||||||
$shape = (vartrue($options['shape'])) ? "img-".$options['shape'] : "img-rounded";
|
$shape = (vartrue($options['shape'])) ? "img-".$options['shape'] : "img-rounded";
|
||||||
|
|
||||||
$text = "<img class='".$shape." img-responsive user-avatar e-tip' title=\"".$title."\" src='".$img."' alt='' style='width:".$width."px; height:".$height."px' />";
|
$text = "<img class='".$shape." img-responsive user-avatar e-tip' title=\"".$title."\" src='".$img."' alt='' width='".$width."' height='".$height."' />";
|
||||||
// return $img;
|
// return $img;
|
||||||
return $text;
|
return $text;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user