k1low/imgin

Image manipulation directory

Fund package maintenance!
k1LoW

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/k1low/imgin

v0.0.5 2015-09-17 02:59 UTC

This package is auto-updated.

Last update: 2025-10-06 11:57:28 UTC


README

Install

$ composer -sdev create-project k1low/imgin ./app/webroot/img
...

Writing lock file
Generating autoload files
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? Y

Usage (File)

Original image access

/img/foo/bar/large.jpg

Resized cache image access

/img/100x120/foo/bar/large.jpg

Clear cache image

$ php app/webroot/img/imgin.php clearcache /path/to/app/webroot/img/foo/bar/large.jpg

Clear all cache image

$ php app/webroot/img/imgin.php clearcache --all

Usage (S3)

Original image

https://s3-ap-northeast-1.amazonaws.com/s3-bucket-name/foo/bar/large.jpg

Original "cache" image access

/img/foo/bar/large.jpg

Resized cache image access

/img/100x120/foo/bar/large.jpg

Clear cache image

$ php app/webroot/img/imgin.php clearcache /path/to/app/webroot/img/foo/bar/large.jpg

Clear all cache image

TODO

Requirement

License

under MIT License