Skip to content

k1LoW/imgin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imgin: Image manipulation directory

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

About

Image manipulation directory

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published