Skip to content

Commit 821c44e

Browse files
Fixed Typo Error in GlideInABox Namespace (#27)
* Fixed typo within the namespace * Fixed typo within the namespace
1 parent 8cf923a commit 821c44e

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ print glide_url($pathToYourImageFile)->preset('medium')->filter('sepia');
7070
There are also predefined constants if you prefer using those rather than strings, e.g:
7171

7272
```php
73-
use AmpedWeb\GlideInABox\Interfaces\Filter;
73+
use AmpedWeb\GlideUrl\Interfaces\Filter;
7474

7575
glide_url($pathToYourImageFile)->preset('medium')->filter(Filter::SEPIA)->url();
7676
```
@@ -79,7 +79,7 @@ You can also build a completely custom image with no preset.
7979
Below is a 200x100 px cropped webp image at 50% quality:
8080

8181
```php
82-
use AmpedWeb\GlideInABox\Interfaces\Fit;
82+
use AmpedWeb\GlideUrl\Interfaces\Fit;
8383

8484
glide_url($pathToYourImageFile)->size(200,100)->fit(Fit::CROP)->webp(50)->url();
8585
```

docs/examples.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ $darkerImage = (string)glide_url('/path/to/your/image.jpg')->preset('list')->bri
6464
#### Chain as many manipulations as you want
6565

6666
```php
67-
use AmpedWeb\GlideInABox\Interfaces\Border;
68-
use AmpedWeb\GlideInABox\Interfaces\Crop;
69-
use AmpedWeb\GlideInABox\Interfaces\Filter;
67+
use AmpedWeb\GlideUrl\Interfaces\Border;
68+
use AmpedWeb\GlideUrl\Interfaces\Crop;
69+
use AmpedWeb\GlideUrl\Interfaces\Filter;
7070

7171
$image = (string)glide_url('/path/to/your/image.jpg')->preset('list')
7272
->cropToPosition(400, 400, Crop::BOTTOM_LEFT)
@@ -88,9 +88,9 @@ $image = glide_url('/path/to/your/image.jpg')->size(300, 300)->fit('max')->jpeg(
8888

8989
### Using several manipulations
9090
```php
91-
use AmpedWeb\GlideInABox\Interfaces\Border;
92-
use AmpedWeb\GlideInABox\Interfaces\Crop;
93-
use AmpedWeb\GlideInABox\Interfaces\Filter;
91+
use AmpedWeb\GlideUrl\Interfaces\Border;
92+
use AmpedWeb\GlideUrl\Interfaces\Crop;
93+
use AmpedWeb\GlideUrl\Interfaces\Filter;
9494

9595
$image = (string)glide_url('/path/to/your/image.jpg')->cropToPosition(400, 400, Crop::BOTTOM_LEFT)
9696
->sharpen(20)

docs/glide-url-helper/crop.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ glide_url('/path/to/your_amazing_image.jpeg')->cropToPosition(100,100,Crop::TOP_
5252

5353
```php
5454

55-
namespace AmpedWeb\GlideInABox\Interfaces\Crop;
55+
namespace AmpedWeb\GlideUrl\Interfaces\Crop;
5656

5757
Crop::TOP_LEFT // same as "crop-top-left"
5858
Crop::TOP // same as "top"

docs/glide-url-helper/effects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ glide_url('/path/to/your_amazing_image.jpeg')->filter(Filter::GREYSCALE)->url()
6262
#### Filter Constants
6363

6464
```php
65-
namespace AmpedWeb\GlideInABox\Interfaces\Effects;
65+
namespace AmpedWeb\GlideUrl\Interfaces\Filter;
6666

6767
Filter::GREYSCALE // same as "greyscale"
6868
Filter::SEPIA // same as "sepia"

docs/glide-url-helper/flip.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ glide_url('/path/to/your_amazing_image.jpeg')->flip(Flip::VERTICAL)->url()
3737
#### Flip Constants
3838

3939
```php
40-
namespace AmpedWeb\GlideInABox\Interfaces\Flip;
40+
namespace AmpedWeb\GlideUrl\Interfaces\Flip;
4141

4242
Flip::VERTICAL // same as "v"
4343
Flip::HORIZONTAL // same as "h"

docs/glide-url-helper/orientation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ glide_url('/path/to/your_amazing_image.jpeg')->orientation(Rotate::R90)->url()
3838
#### Orientation Constants
3939

4040
```php
41-
namespace AmpedWeb\GlideInABox\Interfaces\Orientation;
41+
namespace AmpedWeb\GlideUrl\Interfaces\Rotate;
4242

4343
Rotate::AUTO // same as "auto"
4444
Rotate::R0 // same as "0"

docs/glide-url-helper/watermarks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ glide_url('/path/to/your_amazing_image.jpeg')
162162
#### Position Constants
163163

164164
```php
165-
namespace AmpedWeb\GlideInABox\Interfaces\Position;
165+
namespace AmpedWeb\GlideUrl\Interfaces\Position;
166166

167167
Position::TOP_LEFT // same as "top-left"
168168
Position::TOP // same as "top"

0 commit comments

Comments
 (0)