|
@@ -158,9 +158,16 @@ class Local extends Core implements Config
|
|
|
$temp = explode('_wp', $this->name);
|
|
|
$this->name = $temp[0];
|
|
|
}
|
|
|
+
|
|
|
+ $file = $this->output['file'];
|
|
|
+ $url = $this->output['url'];
|
|
|
+
|
|
|
$this->ext = '.webp';
|
|
|
$this->name .= '_wp' . $num;
|
|
|
$dest = $this->file();
|
|
|
+
|
|
|
+ $this->output['file'] = $file;
|
|
|
+ $this->output['url'] = $url;
|
|
|
}
|
|
|
|
|
|
$this->img()->setType('im');
|