Dear roger francois,
Please go to /homez.655/adresser/bon-plan/plugins/system/yt/includ
es/libs/resize/tool.php and find:
if ($w + $h == 0){
$this->log('Cannot resize to 0x0');
} else if ($w == 0){
$mode = $this->_modes[3];
$w = round( $h * $this->sW / $this->sH );
} else if ($h == 0){
$mode = $this->_modes[3];
$h = round( $w * $this->sH / $this->sW );
} else if ( abs($h-round($w*$this->sH/$this->sW)) <= 1){
$mode = $this->_modes[3];
$h = round( $w * $this->sH / $this->sW );
}
=>
if ($w + $h == 0 || $this->sH == 0 || $this->sW == 0){
$this->log('Cannot resize to 0x0');
} else if ($w == 0){
$mode = $this->_modes[3];
$w = round( $h * $this->sW / $this->sH );
} else if ($h == 0){
$mode = $this->_modes[3];
$h = round( $w * $this->sH / $this->sW );
} else if ( abs($h-round($w*$this->sH/$this->sW)) <= 1){
$mode = $this->_modes[3];
$h = round( $w * $this->sH / $this->sW );
}
Thanks