From fc4a308bead0e4c52b14343a031a5ff26fa5e330 Mon Sep 17 00:00:00 2001 From: Matias Hernan Lauriti Date: Tue, 4 Jul 2017 12:13:23 -0300 Subject: [PATCH 1/2] Fixed grammar error --- docs/examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples.md b/docs/examples.md index 3e9bfb5..ee3b8d0 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -172,7 +172,7 @@ $photo->foo->contentType(); ``` #### Deleting-Uploads -Unless you've set the 'keep_old_files' flag on the attachment to true, deleting a record will automatically remove all uploaded files, across all attachments, across all styles, for the a given model/record: +Unless you've set the 'keep_old_files' flag on the attachment to true, deleting a record will automatically remove all uploaded files, across all attachments, across all styles, for the given model/record: ```php $photo->delete(); ``` @@ -198,4 +198,4 @@ You may also reprocess uploaded images on an attachment by calling the reprocess ```php // Programmatically reprocess an attachment's uploaded images: $photo->foo->reprocess(); -``` \ No newline at end of file +``` From 0e84ddad2fcbae8cd846c0daf9a9949b8798fd81 Mon Sep 17 00:00:00 2001 From: Matias Hernan Lauriti Date: Tue, 4 Jul 2017 12:17:42 -0300 Subject: [PATCH 2/2] Fixed grammar error --- docs/imageprocessing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/imageprocessing.md b/docs/imageprocessing.md index cc0dd4d..1614a97 100644 --- a/docs/imageprocessing.md +++ b/docs/imageprocessing.md @@ -4,7 +4,7 @@ Stapler makes use of the [imagine image](https://packagist.org/packages/imagine/ * **width**: A style that defines a width only (landscape). Height will be automagically selected to preserve aspect ratio. This works well for resizing images for display on mobile devices, etc. * **xheight**: A style that defines a heigh only (portrait). Width automagically selected to preserve aspect ratio. * **widthxheight#**: Resize then crop. -* **widthxheight!**: Resize by exacty width and height. Width and height emphatically given, original aspect ratio will be ignored. +* **widthxheight!**: Resize by exact width and height. Width and height emphatically given, original aspect ratio will be ignored. * **widthxheight**: Auto determine both width and height when resizing. This will resize as close as possible to the given dimensions while still preserving the original aspect ratio. To create styles for an attachment, simply define them (you may use any style name you like: foo, bar, baz, etc) inside the attachment's styles array using a combination of the directives defined above: