dever 6 years ago
parent
commit
462bd8f6e2
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/Store/Local.php

+ 7 - 0
src/Store/Local.php

@@ -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');