1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 18:24:57 +02:00
This commit is contained in:
Ryan Cramer
2021-03-19 14:31:07 -04:00
parent cd533062d7
commit 0dc408a8dd

View File

@@ -682,7 +682,7 @@ class Pageimage extends Pagefile {
$result = $this->___size($width, $height, $options);
}
if($result) {
if($result && $result !== $this) {
$options['_width'] = $width;
$options['_height'] = $height;
$result->set('sizeOptions', $options);