mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Resize profile picture if bigger than 200px on either x or y.
Bolded text on message box.
This commit is contained in:
parent
01dfc2e836
commit
e0161826d8
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