Skip to content

Commit

Permalink
Merge pull request #355 from joeworkman/docs-hotfix
Browse files Browse the repository at this point in the history
Revert images in demo to 1.0 API
  • Loading branch information
ADmad authored Oct 4, 2022
2 parents 5d1db73 + 6c14254 commit 1419df6
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
8 changes: 4 additions & 4 deletions docs/2.0/api/adjustments.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Adjusts the image brightness. Use values between `-100` and `+100`, where `0` re
<img src="kayaks.jpg?w=500&bri=-25">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&bri=-25)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&bri=-25)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&bri=-25)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&bri=-25)

## Contrast `con`

Expand All @@ -23,7 +23,7 @@ Adjusts the image contrast. Use values between `-100` and `+100`, where `0` repr
<img src="kayaks.jpg?w=500&con=25">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&con=25)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&con=25)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&con=25)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&con=25)

## Gamma `gam`

Expand All @@ -33,7 +33,7 @@ Adjusts the image gamma. Use values between `0.1` and `9.99`.
<img src="kayaks.jpg?w=500&gam=1.5">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&gam=1.5)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&gam=1.5)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&gam=1.5)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&gam=1.5)

## Sharpen `sharp`

Expand All @@ -43,4 +43,4 @@ Sharpen the image. Use values between `0` and `100`.
<img src="kayaks.jpg?w=500&sharp=15">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&sharp=15)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&sharp=15)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&sharp=15)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&sharp=15)
2 changes: 1 addition & 1 deletion docs/2.0/api/background.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Sets the background color of the image. See [colors](api/colors/) for more infor
<img src="logo.png?w=400&bg=black">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/logo.png?w=400&bg=black)](https://glide.herokuapp.com/2.0/logo.png?w=500&bg=black)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/logo.png?w=400&bg=black)](https://glide.herokuapp.com/1.0/logo.png?w=500&bg=black)
4 changes: 2 additions & 2 deletions docs/2.0/api/border.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Add a border to the image. Required format: `width,color,method`.
<img src="kayaks.jpg?w=500&border=10,5000,overlay">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&border=10,5000,overlay)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&border=10,5000,overlay)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&border=10,5000,overlay)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&border=10,5000,overlay)

### Width

Expand All @@ -35,4 +35,4 @@ Sets how the border will be displayed. Available options:
<img src="kayaks.jpg?w=500&border=10,FFCC33,expand">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&border=10,FFCC33,expand)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&border=10,FFCC33,expand)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&border=10,FFCC33,expand)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&border=10,FFCC33,expand)
4 changes: 2 additions & 2 deletions docs/2.0/api/crop.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Resizes the image to fill the width and height boundaries and crops any excess i
<img src="kayaks.jpg?w=300&h=300&fit=crop">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=300&h=300&fit=crop)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=300&h=300&fit=crop)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=300&h=300&fit=crop)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=300&h=300&fit=crop)

### Crop Position

Expand Down Expand Up @@ -45,4 +45,4 @@ Crops the image to specific dimensions prior to any other resize operations. Req
<img src="kayaks.jpg?crop=100,100,915,155">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?crop=100,100,915,155)](https://glide.herokuapp.com/2.0/kayaks.jpg?crop=100,100,915,155)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?crop=100,100,915,155)](https://glide.herokuapp.com/1.0/kayaks.jpg?crop=100,100,915,155)
6 changes: 3 additions & 3 deletions docs/2.0/api/effects.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Adds a blur effect to the image. Use values between `0` and `100`.
<img src="kayaks.jpg?w=500&blur=5>
~~~
[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&blur=5)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&blur=5)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&blur=5)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&blur=5)
<p class="message-notice">Performance intensive on larger amounts of blur with GD driver. Use with care.</p>
Expand All @@ -25,7 +25,7 @@ Applies a pixelation effect to the image. Use values between `0` and `1000`.
<img src="kayaks.jpg?w=500&pixel=5>
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&pixel=5)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&pixel=5)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&pixel=5)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&pixel=5)

## Filter `filt`

Expand All @@ -35,4 +35,4 @@ Applies a filter effect to the image. Accepts `greyscale` or `sepia`.
<img src="kayaks.jpg?w=500&filt=sepia>
~~~
[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&filt=sepia)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&filt=sepia)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&filt=sepia)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&filt=sepia)
4 changes: 2 additions & 2 deletions docs/2.0/api/encode.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Defines the quality of the image. Use values between `0` and `100`. Defaults to
<img src="kayaks.jpg?w=500&q=25">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&q=25)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&q=25)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&q=25)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&q=25)


## Format `fm`
Expand All @@ -24,4 +24,4 @@ Encodes the image to a specific format. Accepts `jpg`, `pjpg` (progressive jpeg)
<img src="kayaks.jpg?w=500&fm=gif">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&fm=gif)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&fm=gif)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&fm=gif)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&fm=gif)
2 changes: 1 addition & 1 deletion docs/2.0/api/flip.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Flips the image. Accepts `v`, `h` and `both`.
<img src="kayaks.jpg?h=500&flip=v">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?h=500&flip=v)](https://glide.herokuapp.com/2.0/kayaks.jpg?h=500&flip=v)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?h=500&flip=v)](https://glide.herokuapp.com/1.0/kayaks.jpg?h=500&flip=v)
2 changes: 1 addition & 1 deletion docs/2.0/api/orientation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Rotates the image. Accepts `auto`, `0`, `90`, `180` or `270`. Default is `auto`.
<img src="kayaks.jpg?h=500&or=90">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?h=500&or=90)](https://glide.herokuapp.com/2.0/kayaks.jpg?h=500&or=90)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?h=500&or=90)](https://glide.herokuapp.com/1.0/kayaks.jpg?h=500&or=90)
2 changes: 1 addition & 1 deletion docs/2.0/api/pixel-density.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ The device pixel ratio is used to easily convert between CSS pixels and device p
<img src="kayaks.jpg?w=250&dpr=2">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=250&dpr=2)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=250&dpr=2)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=250&dpr=2)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=250&dpr=2)
6 changes: 3 additions & 3 deletions docs/2.0/api/size.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Sets the width of the image, in pixels.
<img src="kayaks.jpg?w=500">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500)

## Height `h`

Expand All @@ -23,7 +23,7 @@ Sets the height of the image, in pixels.
<img src="kayaks.jpg?h=333">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?h=333)](https://glide.herokuapp.com/2.0/kayaks.jpg?h=333)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?h=333)](https://glide.herokuapp.com/1.0/kayaks.jpg?h=333)

## Fit `fit`

Expand All @@ -42,4 +42,4 @@ Sets how the image is fitted to its target dimensions.
<img src="kayaks.jpg?w=300&h=300&fit=stretch">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=300&h=300&fit=stretch)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=300&h=300&fit=stretch)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=300&h=300&fit=stretch)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=300&h=300&fit=stretch)
6 changes: 3 additions & 3 deletions docs/2.0/api/watermarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Adds a watermark to the image. Must be a path to an image in the watermarks file
<img src="kayaks.jpg?mark=logo.png">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&mark=billabong.png&markw=30w&markpad=3w&markpos=top-right)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&mark=billabong.png&markw=30w&markpad=3w&markpos=top-right)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&mark=billabong.png&markw=30w&markpad=3w&markpos=top-right)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&mark=billabong.png&markw=30w&markpad=3w&markpos=top-right)

### Configuring the watermarks file system

Expand Down Expand Up @@ -92,7 +92,7 @@ Sets where the watermark is positioned. Accepts `top-left`, `top`, `top-right`,
<img src="kayaks.jpg?mark=logo.png&markpos=top-left">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&mark=billabong.png&markw=30w&markpad=3w&markpos=top-left)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&mark=billabong.png&markw=30w&markpad=3w&markpos=top-left)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&mark=billabong.png&markw=30w&markpad=3w&markpos=top-left)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&mark=billabong.png&markw=30w&markpad=3w&markpos=top-left)

## Alpha `markalpha`

Expand All @@ -102,4 +102,4 @@ Sets the opacity of the watermark. Use values between `0` and `100`, where `100`
<img src="kayaks.jpg?mark=logo.png&markalpha=50">
~~~

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&mark=billabong.png&markw=94w&markpad=3w&markpos=top-right&markalpha=50)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=500&mark=billabong.png&markw=94w&markpad=3w&markpos=top-right&markalpha=50)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&mark=billabong.png&markw=94w&markpad=3w&markpos=top-right&markalpha=50)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=500&mark=billabong.png&markw=94w&markpad=3w&markpos=top-right&markalpha=50)
2 changes: 1 addition & 1 deletion docs/2.0/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ title: Introduction

Glide is a wonderfully easy on-demand image manipulation library written in PHP. Its straightforward API is exposed via HTTP, similar to cloud image processing services like [Imgix](http://www.imgix.com/) and [Cloudinary](http://cloudinary.com/). Glide leverages powerful libraries like [Intervention Image](http://image.intervention.io/) (for image handling and manipulation) and [Flysystem](http://flysystem.thephpleague.com/) (for file system abstraction).

[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=1000&gam=.9&sharp=8)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=1000&gam=.9&sharp=8)
[![© Photo Joel Reynolds](https://glide.herokuapp.com/1.0/kayaks.jpg?w=1000&gam=.9&sharp=8)](https://glide.herokuapp.com/1.0/kayaks.jpg?w=1000&gam=.9&sharp=8)

<p class="photo_credit">© Photo <a href="http://www.joelreynolds.ca/">Joel Reynolds</a></p>

Expand Down

0 comments on commit 1419df6

Please sign in to comment.