diff --git a/backend/src/thumbnailer.rs b/backend/src/thumbnailer.rs index b016df8..42b78f9 100644 --- a/backend/src/thumbnailer.rs +++ b/backend/src/thumbnailer.rs @@ -48,6 +48,7 @@ impl Thumbnailer { let cmd = self.exec .replace("%s", &*format!("'{pixels}'")) .replace("%u", &shlex::quote(orig)) + .replace("%i", &shlex::quote(orig)) .replace("%o", &shlex::quote(new)); let args: Vec = Shlex::new(&*cmd).collect(); let out = Command::new(args[0].to_owned()).args(&args[1..]).output()?;