diff --git a/README.md b/README.md index 15d25ab..ecc1695 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,14 @@ There are several ways of installing. You either install the whole project which The [sourcode is available on GitHub](https://github.com/mosbth/cimage). Clone, fork or [download as zip](https://github.com/mosbth/cimage/archive/master.zip). -**Latest stable version is v0.7.1 released 2015-07-25.** +**Latest stable version is v0.7.4 released 2015-09-15.** I prefer cloning like this. Do switch to the latest stable version. ```bash git clone git://github.com/mosbth/cimage.git cd cimage -git checkout v0.7.1 +git checkout v0.7.4 ``` Make the cache-directory writable by the webserver. @@ -75,7 +75,7 @@ There are some all-included bundles of `img.php` that can be downloaded and used Dowload the version of your choice like this. ```bash -wget https://github.com/mosbth/cimage/tree/v0.7.1/webroot/imgp.php +wget https://github.com/mosbth/cimage/tree/v0.7.4/webroot/imgp.php ``` Open up the file in your editor and edit the array `$config`. Ensure that the paths to the image directory and the cache directory matches your environment, or create an own config-file for the script. diff --git a/webroot/img.php b/webroot/img.php index f00e287..2e962cf 100644 --- a/webroot/img.php +++ b/webroot/img.php @@ -8,7 +8,7 @@ * */ -$version = "v0.7.3 (2015-09-01)"; +$version = "v0.7.4 (2015-09-15)"; diff --git a/webroot/imgd.php b/webroot/imgd.php index c197762..64d1f59 100644 --- a/webroot/imgd.php +++ b/webroot/imgd.php @@ -706,7 +706,6 @@ class CWhitelist /** * Create an ASCII version of an image. - * Inspired by https://gist.github.com/donatj/1353237 and various sources. * */ class CAsciiArt @@ -777,7 +776,7 @@ class CAsciiArt /** - * Length of current character set. + * Set options for processing, defaults are available. * * @param array $options to use as default settings. * @@ -2141,7 +2140,7 @@ class CImage if (is_array($filter)) { $filters .= "_f{$filter['id']}"; for ($i=1; $i<=$filter['argc']; $i++) { - $filters .= ":".$filter["arg{$i}"]; + $filters .= "-".$filter["arg{$i}"]; } } } @@ -3402,7 +3401,7 @@ EOD; * */ -$version = "v0.7.3 (2015-09-01)"; +$version = "v0.7.4 (2015-09-15)"; diff --git a/webroot/imgp.php b/webroot/imgp.php index 80412fe..7f14821 100644 --- a/webroot/imgp.php +++ b/webroot/imgp.php @@ -706,7 +706,6 @@ class CWhitelist /** * Create an ASCII version of an image. - * Inspired by https://gist.github.com/donatj/1353237 and various sources. * */ class CAsciiArt @@ -777,7 +776,7 @@ class CAsciiArt /** - * Length of current character set. + * Set options for processing, defaults are available. * * @param array $options to use as default settings. * @@ -2141,7 +2140,7 @@ class CImage if (is_array($filter)) { $filters .= "_f{$filter['id']}"; for ($i=1; $i<=$filter['argc']; $i++) { - $filters .= ":".$filter["arg{$i}"]; + $filters .= "-".$filter["arg{$i}"]; } } } @@ -3402,7 +3401,7 @@ EOD; * */ -$version = "v0.7.3 (2015-09-01)"; +$version = "v0.7.4 (2015-09-15)"; diff --git a/webroot/imgs.php b/webroot/imgs.php index c197762..64d1f59 100644 --- a/webroot/imgs.php +++ b/webroot/imgs.php @@ -706,7 +706,6 @@ class CWhitelist /** * Create an ASCII version of an image. - * Inspired by https://gist.github.com/donatj/1353237 and various sources. * */ class CAsciiArt @@ -777,7 +776,7 @@ class CAsciiArt /** - * Length of current character set. + * Set options for processing, defaults are available. * * @param array $options to use as default settings. * @@ -2141,7 +2140,7 @@ class CImage if (is_array($filter)) { $filters .= "_f{$filter['id']}"; for ($i=1; $i<=$filter['argc']; $i++) { - $filters .= ":".$filter["arg{$i}"]; + $filters .= "-".$filter["arg{$i}"]; } } } @@ -3402,7 +3401,7 @@ EOD; * */ -$version = "v0.7.3 (2015-09-01)"; +$version = "v0.7.4 (2015-09-15)";