|
@@ -133,8 +133,15 @@ class Local extends Core implements Config
|
|
|
$temp = explode('_p', $this->name);
|
|
|
$this->name = $temp[0];
|
|
|
}
|
|
|
+
|
|
|
+ $file = $this->output['file'];
|
|
|
+ $url = $this->output['url'];
|
|
|
+
|
|
|
$this->name .= '_p' . $num;
|
|
|
$dest = $this->file();
|
|
|
+
|
|
|
+ $this->output['file'] = $file;
|
|
|
+ $this->output['url'] = $url;
|
|
|
}
|
|
|
|
|
|
$this->img()->setType('im');
|
|
@@ -169,7 +176,7 @@ class Local extends Core implements Config
|
|
|
$this->output['file'] = $file;
|
|
|
$this->output['url'] = $url;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
$this->img()->setType('im');
|
|
|
$this->img()->webp($source, $num, $dest);
|
|
|
}
|