dev-master
9999999-dev https://github.com/arielcr/image-cacheA Simple Image Cache Class
MIT
The Development Requires
by Ariel Orozco
cache image resize
Wallogit.com
2017 © Pedro Peláez
A Simple Image Cache Class
Simple class to save external images to a cache folder. It also has the ability to resize proportionally to a width., (*2)
This class is PSR-0 compliant and can be installed using composer. Simply add arielcr/image-cache to your composer.json file. Composer is the sane alternative to PEAR. It is excellent for managing dependancies in larger projects., (*3)
{
"require": {
"arielcr/image-cache": "dev-master"
}
}
Usage is pretty straightforward. Simply call the function on the image src you want to cache., (*4)
<img src="<?php echo Image\Cache::get($image_url, $width); ?>" >
Cached images will be on the /cache/images/ folder., (*5)
A Simple Image Cache Class
MIT
cache image resize