Skip to content

Releases: BKWLD/croppa

Smarter regex and more tests

11 Feb 16:59
Compare
Choose a tag to compare
  • #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 a Bkwld\Croppa\Image object with a show() method that will echo the binary image data

Bug fixes and tweaks

21 Jan 16:34
Compare
Choose a tag to compare
  • Passing through the $src if no width / height are set
  • #67
  • #64

Append the host to passed through srcs

13 Oct 16:37
Compare
Choose a tag to compare
3.4.2

Append the host to passed through srcs

Passthrough the src if there is no width or height

13 Oct 16:18
Compare
Choose a tag to compare
3.4.1

Pass through the src if there is no width or height

Adding "ignore" config setting

06 Aug 17:33
Compare
Choose a tag to compare

From README:

Ignore cropping for image URLs that match a regular expression. Useful for returning animated gifs.

UMD for croppa.js and bug fix when related to deleting

30 Jul 18:26
Compare
Choose a tag to compare