Download the PHP package bingvanmoorsel/easyimage without Composer
On this page you can find all versions of the php package bingvanmoorsel/easyimage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bingvanmoorsel/easyimage
More information about bingvanmoorsel/easyimage
Files in bingvanmoorsel/easyimage
Package easyimage
Short Description Image handling and manipulation library with support for Laravel integration
License MIT
Homepage http://bingvanmoorsel.nl/
Informations about the package easyimage
EasyImage
This is a small simple package that extends intervention/imagecache. All credits for that package belong to the creator. This is my first package and i made this to help myself in some of my own projects. Feel free to comment, fork or even better: improve it!
What does it do?
this package makes it possible to call the fit, crop and grayscale option right from the url.
Installation
require the package trough composer:
Then add the the service providers:
How does it work?
First of all you need to setup Image Intervention described on this page: http://image.intervention.io/use/url
This package extends the route in the config with an 'c_' so for example if your config is:
the package enables a route 'c_img'
Explained
the URL is build up in 3 parts:
placeholder | description |
---|---|
yourdomain | your website url. |
route | defined in app/imagecache.php |
command | The effect you want: fit, crop, grayscale |
params | required field and sepperated by a dash('-'), if no params place one dash. |
path-to-image | The original path to the image. |
Examples of commands
License
This package iss open-sourced software licensed under the MIT license.