2017 © Pedro Peláez
 

library image

Manipulate images, create thumbs, crop...

image

creolab/image

Manipulate images, create thumbs, crop...

  • Wednesday, October 15, 2014
  • by bstrahija
  • Repository
  • 1 Watchers
  • 10 Stars
  • 637 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 6 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Image

Resize, crop and cache images for Laravel 4. Framework agnostic coming soon., (*1)

Installation

Simply add the following to your composer.json file:, (*2)

"creolab/image": "dev-master"

And you can also add the service provider to app/config/app.php:, (*3)

'Creolab\Image\ImageServiceProvider',

And register the facade in the same file under aliases:, (*4)

'Image' => 'Creolab\Image\ImageFacade',

Usage

You can use the library directly in your views like this:, (*5)

<img src="{{ Image::resize('public/path/to/image.jpg', 640, 480) }}">

Also to generate square thumbs:, (*6)

<img src="{{ Image::thumb('public/path/to/image.jpg', 80) }}">

Bitdeli Badge, (*7)

The Versions

15/10 2014

dev-master

9999999-dev

Manipulate images, create thumbs, crop...

  Sources   Download

The Requires

 

laravel image crop thumb