mirror of
https://github.com/mosbth/cimage.git
synced 2025-07-30 21:20:11 +02:00
Prepare to tag v0.7.4
This commit is contained in:
@@ -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.
|
||||
|
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
$version = "v0.7.3 (2015-09-01)";
|
||||
$version = "v0.7.4 (2015-09-15)";
|
||||
|
||||
|
||||
|
||||
|
@@ -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)";
|
||||
|
||||
|
||||
|
||||
|
@@ -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)";
|
||||
|
||||
|
||||
|
||||
|
@@ -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)";
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user