1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-10 18:14:25 +02:00

Prepare tagging v0.3

This commit is contained in:
Mikael Roos
2012-10-02 23:25:03 +02:00
parent e4c436f52c
commit 9e3c7fae82
4 changed files with 13 additions and 5 deletions

View File

@@ -88,6 +88,7 @@ class CImage {
}
}
$subdir = str_replace('/', '-', dirname($this->imageName));
$subdir = '.' ? '_.' : $subdir;
return $this->saveFolder . '/' . $subdir . '_' . $parts['filename'] . '_' . round($this->newWidth) . '_' . round($this->newHeight) . $crop . $cropToFit . $crop_x . $crop_y . $quality . $filters . '.' . $parts['extension'];
}