diff --git a/fhem/contrib/InfoPanel/55_InfoPanel.pm b/fhem/contrib/InfoPanel/55_InfoPanel.pm index b86c20bd8..e6417bc8a 100644 --- a/fhem/contrib/InfoPanel/55_InfoPanel.pm +++ b/fhem/contrib/InfoPanel/55_InfoPanel.pm @@ -315,7 +315,7 @@ sub _btIP_imgData { my $info = image_info(\$arg); my $width = $info->{width}; my $height = $info->{height}; - ($width,$height)= _btIP_imgRescale($width,$height,$scale) unless $scale eq '1'; + ($width,$height)= _btIP_imgRescale($width,$height,$scale); my $mimetype = $info->{file_media_type}; my $data = "data:$mimetype;base64,".encode_base64($arg); return ($width,$height,$mimetype,$data); @@ -372,7 +372,7 @@ sub btIP_itemPlot { ($width,$height,$mimetype,$svgdata) = _btIP_imgData($svgdata,$scale); $output = "\n"; - $output .= "\n"; } else {