extracted getOriginalImage method

@onigoetz onigoetz released this Jun 26, 2017 · 1 commit to master since this release

This allows to override the method that retrieves the image that will be compressed.

Allows for example to serve images directly from zip archives

Nicer configuration

@onigoetz onigoetz released this Nov 17, 2016 · 2 commits to master since this release

Breaking Changes

  • path_images is now path_web, the value that goes inside is the same as before
  • path_images_root is now path_local, the value is now the absolute path to the images directory
  • Dropped support for Laravel 4
  • Dropped support for Slim 2

Other

  • We use intervention/image to generate images instead of imagine/imagine
  • Added support for Slim 3
  • Ensured php 7 and php 7.1 are supported (hhvm should work as well)

Retina Support

@onigoetz onigoetz released this Nov 17, 2016 · 8 commits to master since this release

  • Fixed retina images support, is now fully tested and integrated
  • Improved documentation

Laravel 5 support

@onigoetz onigoetz released this Jan 18, 2016 · 15 commits to master since this release

  • PHP 5.5 is the new minimum
  • Laravel 5 is now supported
  • Laravel 4 is still supported
  • Added integration tests for Laravel 5

Use a package to generate images, test all the things

@onigoetz onigoetz released this Jan 18, 2016 · 32 commits to master since this release

Major changes

  • We use imagine/imagine to generate images instead of raw GD
  • Minimum PHP version is now 5.4

Fixes

  • Fix incorrect headers

Tests

  • Decent code coverage
  • Integration tests with Slim and with Laravel

First release

@onigoetz onigoetz released this Jan 18, 2016 · 66 commits to master since this release

Works with

  • Laravel 4
  • Slim 2
  • Raw PHP

Features

  • Completely configurable
  • Already generated images are served by the web server, not PHP
  • Support retina images and retina specific presets