fixed: changing image thumbnail size doesn't resize image
This commit is contained in:
parent
d9d524a2fe
commit
050128f313
3 changed files with 6 additions and 2 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
- Internationalized Calendar templates
|
- Internationalized Calendar templates
|
||||||
- fixed: exporting as HTML leaks sessions for inaccessible assets,
|
- fixed: exporting as HTML leaks sessions for inaccessible assets,
|
||||||
- new YUI based date picker
|
- new YUI based date picker
|
||||||
|
- fixed: changing image thumbnail size doesn't resize image
|
||||||
|
|
||||||
7.5.5
|
7.5.5
|
||||||
- fixed: Several typos in the new Calendar help documentation.
|
- fixed: Several typos in the new Calendar help documentation.
|
||||||
|
|
|
||||||
|
|
@ -334,6 +334,9 @@ sub processPropertiesFromFormPost {
|
||||||
$self->setFile( $filePath );
|
$self->setFile( $filePath );
|
||||||
$storage->delete;
|
$storage->delete;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$self->applyConstraints;
|
||||||
|
}
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,8 @@ sub applyConstraints {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $options = shift;
|
my $options = shift;
|
||||||
$self->SUPER::applyConstraints($options);
|
$self->SUPER::applyConstraints($options);
|
||||||
my $maxImageSize = $options->{maxImageSize} || $self->session->setting->get("maxImageSize");
|
my $maxImageSize = $options->{maxImageSize} || $self->get('maxImageSize') || $self->session->setting->get("maxImageSize");
|
||||||
my $thumbnailSize = $options->{thumbnailSize} || $self->session->setting->get("thumbnailSize");
|
my $thumbnailSize = $options->{thumbnailSize} || $self->get('thumbnailSize') || $self->session->setting->get("thumbnailSize");
|
||||||
my $parameters = $self->get("parameters");
|
my $parameters = $self->get("parameters");
|
||||||
my $storage = $self->getStorageLocation;
|
my $storage = $self->getStorageLocation;
|
||||||
unless ($parameters =~ /alt\=/) {
|
unless ($parameters =~ /alt\=/) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue