Skip to content

Commit

Permalink
Update ImageSignature.php
Browse files Browse the repository at this point in the history
fix for imgproxy:v3.2.2
  • Loading branch information
Assmay authored Feb 18, 2022
1 parent 9a544a1 commit 27af22c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/AlexGiuvara/ImgProxy/ImageSignature.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,7 @@ public function getPath(): string
$this->img->getExtension()
);
}else{
$path = sprintf(
"/%s/%d/%d/%s/%d/%s%s",
$this->img->getResize(),
$this->img->getWidth(),
$this->img->getHeight(),
$this->img->getGravity(),
$this->img->getEnlarge(),
$this->getEncodedURL(),
$this->img->getExtension()
);
$path = "/rs:{$this->img->getResize()}:{$this->img->getWidth()}:{$this->img->getHeight()}:{$this->img->getEnlarge()}/g:{$this->img->getGravity()}/{$this->getEncodedURL()}{$this->img->getExtension()}";
}
return $path;
}
Expand Down

0 comments on commit 27af22c

Please sign in to comment.