Resize profile picture if bigger than 200px on either x or y.
Bolded text on message box.
This commit is contained in:
parent
fdf3df3de5
commit
6c340416d9
2 changed files with 4 additions and 5 deletions
|
@ -63,6 +63,9 @@ if( is_null($content)){
|
|||
}
|
||||
}
|
||||
if($image->loadFromBase64($child->value)) {
|
||||
if($image->width() > 200 || $image->height() > 200) {
|
||||
$image->resize(200);
|
||||
}
|
||||
header('Content-Type: '.$mime);
|
||||
$image();
|
||||
exit();
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
<div id="messagebox">
|
||||
<table width="100%" style="border: 0;">
|
||||
<tr>
|
||||
<th id="messagebox_msg"></th>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="messagebox_msg"></div>
|
||||
</di>
|
||||
|
|
Loading…
Reference in a new issue