Releases: BKWLD/croppa
Releases · BKWLD/croppa
Smarter regex and more tests
- #69 If src image doesn't exist, return a 404 exception.
- #58 Adding unit tests for
generate()
- #13 Restrict the route listener regex to just handle images found in a
src_dir
- Adding other unit tests and making many private methods public
- Dropping Travis CI support for PHP 5.3 and adding PHP 5.6
- Croppa will regenerate the cropped version of files if
generate()
is called for a path that already exists generate()
no longer outputs the image when it finishes. Instead, it returns aBkwld\Croppa\Image
object with ashow()
method that will echo the binary image data
Bug fixes and tweaks
Append the host to passed through srcs
3.4.2 Append the host to passed through srcs
Passthrough the src if there is no width or height
3.4.1 Pass through the src if there is no width or height
Adding "ignore" config setting
From README:
Ignore cropping for image URLs that match a regular expression. Useful for returning animated gifs.