summaryrefslogtreecommitdiff
path: root/lib/mediafile.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mediafile.php')
-rw-r--r--lib/mediafile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mediafile.php b/lib/mediafile.php
index 2c04b4650..febf4603a 100644
--- a/lib/mediafile.php
+++ b/lib/mediafile.php
@@ -127,8 +127,8 @@ class MediaFile
$outname = File::filename($this->user->getProfile(), 'thumb-' . $this->filename, $this->mimetype);
$outpath = File::path($outname);
- $width = 100;
- $height = 75;
+ $width = common_config('attachments', 'thumb_width');
+ $height = common_config('attachments', 'thumb_height');
$image->resizeTo($outpath, $width, $height);
File_thumbnail::saveThumbnail($this->fileRecord->id,