fixed: profile photos don't obey max image size
This commit is contained in:
parent
221d5ac0aa
commit
53bdfda753
6 changed files with 15 additions and 8 deletions
|
|
@ -74,8 +74,8 @@ sub applyConstraints {
|
|||
$self->update({parameters=>$parameters.' alt="'.$self->get("title").'"'});
|
||||
}
|
||||
my $file = $self->get("filename");
|
||||
$storage->adjustMaxImageSize($file);
|
||||
$self->generateThumbnail($thumbnailSize);
|
||||
$storage->adjustMaxImageSize($file, $maxImageSize);
|
||||
$self->generateThumbnail($thumbnailSize);
|
||||
$self->setSize;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue