mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 20:31:41 +02:00
Blurry avatar fix and usersettings template fix. Also added $tp->setThumbSize($w,$h,$crop);
This commit is contained in:
@@ -1834,6 +1834,28 @@ class e_parse extends e_parser
|
||||
return $text;
|
||||
}
|
||||
|
||||
|
||||
public function setThumbSize($w=null,$h=null,$crop=null)
|
||||
{
|
||||
if($w)
|
||||
{
|
||||
$this->thumbWidth = intval($w);
|
||||
}
|
||||
|
||||
if($h)
|
||||
{
|
||||
$this->thumbHeight = intval($h);
|
||||
}
|
||||
|
||||
if($crop)
|
||||
{
|
||||
$this->thumbCrop = intval($crop);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param $url
|
||||
* @param $options ??
|
||||
|
Reference in New Issue
Block a user