Implemented Adaptive watermark issues in v3.6.5

Status
Not open for further replies.

Rodolfo

Chevereto Developer
Chevereto Staff
It has been reported that adaptive watermarks aren't working as expected in some ranges.

To fix this follow these steps:

Open app/lib/classes/class.image.php and find this:
PHP:
$options['ratio'] = min(1, (!is_numeric($options['ratio']) ? 0.1 : max(0.1, $options['ratio'])));
Replace it with this:
PHP:
$options['ratio'] = min(1, (!is_numeric($options['ratio']) ? 0.01 : max(0.01, $options['ratio'])));
 
Status
Not open for further replies.
Top