1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-27 01:24:25 +02:00

167 Commits

Author SHA1 Message Date
Mikael Roos
eb0fc69036 correcting mode-setting in config 2015-02-02 12:43:01 +01:00
Mikael Roos
c012cb2537 testing before release v0.7.0 2015-02-02 12:39:58 +01:00
Mikael Roos
16a7a3dad5 * Now returns statuscode 500 when something fails #55.
* Three different modes: strict, production, development #44.
* Three files for all-in-one `imgs.php`, `imgp.php`, `imgd.php` #73.
2015-01-29 21:16:32 +01:00
Mikael Roos
bc4e04c3cb change name of all-in-one-file to imgs.php #73 2015-01-28 19:52:10 +01:00
Mikael Roos
3452ea1908 Add all code into one single script #73 2015-01-27 22:40:28 +01:00
Mikael Roos
5e08e5ed80 Enable in config to disallow hotlinking/leeching #46 2015-01-19 00:00:54 +01:00
Mikael Roos
4fae208c4c alias now requires password to work. alias filename is without extension #47. 2015-01-17 19:16:39 +01:00
Mikael Roos
f87dc2967f adding support for alias #47 2015-01-15 23:29:18 +01:00
Mikael Roos
81e70b7acd Introduced default values for almost all confguration options #72 2015-01-14 20:47:48 +01:00
Mikael Roos
8e9a3b68f0 ready for test of remote images #43 2015-01-14 19:33:35 +01:00
Mikael Roos
61afe445f1 ready for test of remote images #43 2015-01-14 19:32:01 +01:00
Mikael Roos
be98ae8979 ready for merge #43 2015-01-14 19:28:52 +01:00
Mikael Roos
f9704a4fbc remote download #43 2015-01-10 20:17:12 +01:00
Mikael Roos
d21daa298c pre 0.7 before integrating with remote images
* Adding compare-page for comparing images. Issue #20.
* Added option `no-upscale, nu` as resizing strategy to decline upscaling of smaller images. Fix #61.
* Minor change in `CImage::resize()`, crop now does imagecopy without resamling.
* Correcting internal details for save-as and response json which indicated wrong colors. Fix #62.
* Fixed fill-to-fit that failed when using aspect-ratio. Fix #52.
* JSON returns correct values for resulting image. Fix #58.
* Corrected behaviour for skip-original. Fix #60.
2015-01-08 18:01:48 +01:00
Mikael Roos
b5100845e9 Adding compare-page for comparing images. Issue #20. 2014-12-19 15:21:47 +01:00
Mikael Roos
d509067759 updating strategies to use for no-upscale, #61 2014-12-15 17:24:49 +01:00
Mikael Roos
1144c8e105 updating strategies to use for no-upscale 2014-12-15 17:14:06 +01:00
Mikael Roos
90bfced741 Added option - no-upscale, nu - as resizing strategy to decline upscaling of smaller images. Fix #61. 2014-12-15 15:41:51 +01:00
Mikael Roos
61e0473f47 CImage::resize now crops using imagecopy without resamling. 2014-12-15 09:41:11 +01:00
Mikael Roos
2dbe33bd8e Correcting internal details for save-as and response json which indicated wrong colors. Fix #62. 2014-12-15 09:24:14 +01:00
Mikael Roos
ece0be086c Correcting internal details for save-as and response json which indicated wrong colors. Fix #62. 2014-12-15 09:19:23 +01:00
Mikael Roos
e236757e5d adding testcases for resizing strategies 2014-12-15 09:18:41 +01:00
Mikael Roos
34124e687f Removed &nc 2014-12-14 17:09:12 +01:00
Mikael Roos
ea06d5cfe6 Fixed fill-to-fit that failed when using aspect-ratio. Fix #52. 2014-12-14 17:04:51 +01:00
Mikael Roos
cfc4a5f0ed JSON returns correct values for resulting image. Fix #58. 2014-12-13 00:23:40 +01:00
Mikael Roos
00dca21be0 Corrected behaviour for skip-original. Fix #60 2014-12-13 00:12:39 +01:00
Mikael Roos
af1aa661b9 rewrote docs. tested. prepare to tag v0.6 2014-12-06 14:33:47 +01:00
Mikael Roos
7911a88d6e Adding webroot/htaccess to show off how friendly urls can be created for img.php. 2014-12-03 16:06:16 +01:00
Mikael Roos
640e377ea9 Adding webroot/htaccess to show off how friendly urls can be created for img.php. Fix #45 2014-12-03 16:03:46 +01:00
Mikael Roos
3aa5542664 changing comment for bgc. 2014-12-03 15:31:38 +01:00
Mikael Roos
f13b602e11 Added option fill-to-fit, ff. Fix #38. 2014-12-03 15:26:17 +01:00
Mikael Roos
113b62edc0 Added option 'shortcut, sc' to enable configuration of complex expressions. Fix #2. 2014-11-28 16:25:54 +01:00
Mikael Roos
3c04a2dd0f Added support for custom convolutions. Fix #49. 2014-11-27 22:04:41 +01:00
Mikael Roos
2d09ea4b44 Restructured test-programs. 2014-11-26 15:13:41 +01:00
Mikael Roos
d4a03b70dd Adding testcase for #40 2014-11-24 10:46:50 +01:00
Mikael Roos
188f8cd64d Adding option taking comma-separated list of 11 float-values, wraps and exposes . #4 2014-11-24 09:27:47 +01:00
Mikael Roos
4dfbcd9784 Changing ppi to dpr. #25 2014-11-24 07:41:32 +01:00
Mikael Roos
35dd5c9064 Adding option which defaults to 1. Set to 2 to get a twice as large image. Useful for Retina displays. Basically a shortcut to enlarge the image. #25 2014-11-21 23:44:19 +01:00
Mikael Roos
ba45f746bb * Cache now uses same file extension as original image #37.
* Can output image as json format using `json` #11.
2014-11-21 22:20:30 +01:00
Mikael Roos
e85bc6cee5 Adding testfiles with capital extension 2014-11-21 21:12:22 +01:00
Mikael Roos
78ac29752e Adding security check that image filename is always below the path
`image_path` as specified in `img_config.php` #37.
2014-11-21 19:57:11 +01:00
Mikael Roos
4b64237a4c Changeing comment 2014-11-21 19:37:33 +01:00
Mikael Roos
85f0e3e7d3 moving testilfes to one dir 2014-11-21 19:35:04 +01:00
Mikael Roos
da227d49dd Use the new config item for checking valid filename characters. 2014-11-21 19:34:01 +01:00
Mikael Roos
26449a3236 Adding configuration item to set what valid characters are for the image
filename.
2014-11-21 19:32:05 +01:00
Mikael Roos
20a4f848b7 Moved all test-files into own directory. 2014-11-21 19:24:36 +01:00
Mikael Roos
ec3a6f3491 check if extension exif is loaded #36 2014-09-01 01:27:45 +02:00
Mikael Roos
8523ef5e31 adding testcases for #36 2014-09-01 00:38:26 +02:00
Mikael Roos
c96ed10f80 Cleaning up code #23, added rotate and autoRotate #36 2014-08-31 23:57:34 +02:00
Mikael Roos
4ed55d59e3 finally setting jpeg_ignore_warning to true #34 2014-08-21 02:30:32 +02:00